nvim: Update buffer navigation maps
Updated buffer navigation to make use of the <c-w>hjkl paradigm instead of the <c-hjkl> since it adheres closer to vanilla nvim and works better with the new navigation features of Navigator.nvim.
This commit is contained in:
parent
8f6e1994df
commit
078578b173
1 changed files with 5 additions and 5 deletions
|
@ -217,11 +217,11 @@ map.x['ga'] = '<Plug>(EasyAlign)'
|
|||
map.n['ga'] = '<Plug>(EasyAlign)'
|
||||
|
||||
-- PLUGIN: Navigator.nvim
|
||||
map.n.nore.silent['<c-h>'] = "<CMD>lua require('Navigator').left()<CR>"
|
||||
map.n.nore.silent['<c-k>'] = "<CMD>lua require('Navigator').up()<CR>"
|
||||
map.n.nore.silent['<c-l>'] = "<CMD>lua require('Navigator').right()<CR>"
|
||||
map.n.nore.silent['<c-j>'] = "<CMD>lua require('Navigator').down()<CR>"
|
||||
map.n.nore.silent['<c-p>'] = "<CMD>lua require('Navigator').previous()<CR>"
|
||||
map.n.nore.silent['<c-w>h'] = "<CMD>lua require('Navigator').left()<CR>"
|
||||
map.n.nore.silent['<c-w>k'] = "<CMD>lua require('Navigator').up()<CR>"
|
||||
map.n.nore.silent['<c-w>l'] = "<CMD>lua require('Navigator').right()<CR>"
|
||||
map.n.nore.silent['<c-w>j'] = "<CMD>lua require('Navigator').down()<CR>"
|
||||
map.n.nore.silent['<c-w>p'] = "<CMD>lua require('Navigator').previous()<CR>"
|
||||
|
||||
-- PLUGIN: compe.nvim
|
||||
-- lsp keymaps are set in lsp settings, only for lsp buffers
|
||||
|
|
Loading…
Reference in a new issue