new: Browser like mappings
This commit is contained in:
parent
b2fa064635
commit
30a83e6a1d
3 changed files with 18 additions and 0 deletions
|
@ -34,6 +34,12 @@ map('n', '<leader>u', "<c-r>", { remap = false })
|
|||
map('n', '<leader>k', ":bnext<cr>", { remap = false })
|
||||
map('n', '<leader>j', ":bprevious<cr>", { remap = false })
|
||||
map('n', '<leader>w', ":bdelete<cr>", { remap = false })
|
||||
map('n', '<leader>W', ":bdelete!<cr>", { remap = false })
|
||||
map('n', '<leader>t', ":tabnew<cr>", { remap = false })
|
||||
map('n', '<leader>q', ":qa<cr>", { remap = false })
|
||||
map('n', '<leader>Q', ":qa!<cr>", { remap = false })
|
||||
map('n', '<leader>s', ":w<cr>", { remap = false })
|
||||
map('n', '<leader>S', ":x<cr>", { remap = false })
|
||||
|
||||
-- Clear search highlight by Esc in normal mode
|
||||
map('n', '<Esc>', ':noh<cr>', { remap = false })
|
||||
|
|
|
@ -27,6 +27,12 @@ map('n', '<leader>f', ":Files<cr>", { remap = false })
|
|||
map('n', '<leader>k', ":bnext<cr>", { remap = false })
|
||||
map('n', '<leader>j', ":bprevious<cr>", { remap = false })
|
||||
map('n', '<leader>w', ":bdelete<cr>", { remap = false })
|
||||
map('n', '<leader>W', ":bdelete!<cr>", { remap = false })
|
||||
map('n', '<leader>t', ":tabnew<cr>", { remap = false })
|
||||
map('n', '<leader>q', ":qa<cr>", { remap = false })
|
||||
map('n', '<leader>Q', ":qa!<cr>", { remap = false })
|
||||
map('n', '<leader>s', ":w<cr>", { remap = false })
|
||||
map('n', '<leader>S', ":x<cr>", { remap = false })
|
||||
|
||||
-- Clear search highlight by Esc in normal mode
|
||||
map('n', '<Esc>', ':noh<cr>', { remap = false })
|
||||
|
|
|
@ -25,6 +25,12 @@ map('n', '<leader>f', ":Files<cr>", { remap = false })
|
|||
map('n', '<leader>k', ":bnext<cr>", { remap = false })
|
||||
map('n', '<leader>j', ":bprevious<cr>", { remap = false })
|
||||
map('n', '<leader>w', ":bdelete<cr>", { remap = false })
|
||||
map('n', '<leader>W', ":bdelete!<cr>", { remap = false })
|
||||
map('n', '<leader>t', ":tabnew<cr>", { remap = false })
|
||||
map('n', '<leader>q', ":qa<cr>", { remap = false })
|
||||
map('n', '<leader>Q', ":qa!<cr>", { remap = false })
|
||||
map('n', '<leader>s', ":w<cr>", { remap = false })
|
||||
map('n', '<leader>S', ":x<cr>", { remap = false })
|
||||
|
||||
-- Clear search highlight by Esc in normal mode
|
||||
map('n', '<Esc>', ':noh<cr>', { remap = false })
|
||||
|
|
Loading…
Reference in a new issue