nvim: add window movement keymaps
This commit is contained in:
parent
6e39eaaedb
commit
64131a109f
|
@ -11,11 +11,15 @@ map('n', '<M-Right>', ':bnext<cr>')
|
||||||
map('i', '<M-Left>', '<esc>:bprevious<cr>')
|
map('i', '<M-Left>', '<esc>:bprevious<cr>')
|
||||||
map('i', '<M-Right>', '<esc>:bnext<cr>')
|
map('i', '<M-Right>', '<esc>:bnext<cr>')
|
||||||
|
|
||||||
-- tabs
|
--windows
|
||||||
map('n', '<M-S-Left>', ':tabprevious<cr>')
|
map('n', '<M-S-Left>', ':wincmd h<cr>')
|
||||||
map('n', '<M-S-Right>', ':tabnext<cr>')
|
map('n', '<M-S-Down>', ':wincmd j<cr>')
|
||||||
map('i', '<M-S-Left>', '<esc>:tabprevious<cr>')
|
map('n', '<M-S-Up>', ':wincmd k<cr>')
|
||||||
map('i', '<M-S-Right>', '<esc>:tabnext<cr>')
|
map('n', '<M-S-Right>', ':wincmd l<cr>')
|
||||||
|
map('i', '<M-S-Left>', '<esc>:wincmd h<cr>')
|
||||||
|
map('i', '<M-S-Down>', '<esc>:wincmd j<cr>')
|
||||||
|
map('i', '<M-S-Up>', '<esc>:wincmd k<cr>')
|
||||||
|
map('i', '<M-S-Right>', '<esc>:wincmd l<cr>')
|
||||||
|
|
||||||
-- remove word
|
-- remove word
|
||||||
map('n', '<M-BS>', 'db')
|
map('n', '<M-BS>', 'db')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user