nvim: better key bindings for quickfix list
This commit is contained in:
parent
d889b4b8fc
commit
c3be7795d1
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ map('i', '<c-a>', '<c-o>^')
|
|||
map('i', '<c-e>', '<c-o>$')
|
||||
|
||||
-- navigate items in quickfix list
|
||||
map('n', '<leader>j', '<cmd>cnext<cr>',{ silent = true })
|
||||
map('n', '<leader>k', '<cmd>cprevious<cr>', { silent = true })
|
||||
map('n', '<Down>', '<cmd>cnext<cr>zz', { silent = true })
|
||||
map('n', '<Up>', '<cmd>cprevious<cr>zz', { silent = true })
|
||||
|
||||
-- cycle through line numbering modes
|
||||
map('n', '<leader>ln', '<cmd>set nonumber norelativenumber<CR>', { silent = true })
|
||||
|
|
Loading…
Add table
Reference in a new issue