vim: use <Up>/<Down> to navigate diagnostics
This commit is contained in:
parent
43b5d5c8a5
commit
13561a7e36
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@ local keymap = {
|
||||||
{ '<leader>bg', [[<cmd>let &background = &background ==? 'light' ? 'dark' : 'light'<cr>]] },
|
{ '<leader>bg', [[<cmd>let &background = &background ==? 'light' ? 'dark' : 'light'<cr>]] },
|
||||||
|
|
||||||
-- navigate diagnostics
|
-- navigate diagnostics
|
||||||
{ '<leader>dj', diagnostic.goto_next },
|
{ '<Down>', diagnostic.goto_next },
|
||||||
{ '<leader>dk', diagnostic.goto_prev },
|
{ '<Up>', diagnostic.goto_prev },
|
||||||
{ '<leader>dd', diagnostic.toggle },
|
{ '<leader>dd', diagnostic.toggle },
|
||||||
{ '<leader>do', diagnostic.open_float },
|
{ '<leader>do', diagnostic.open_float },
|
||||||
{ '<leader>dh', diagnostic.hide },
|
{ '<leader>dh', diagnostic.hide },
|
||||||
|
|
Loading…
Add table
Reference in a new issue