diff --git a/config/nvim/lua/fschauen/keymap.lua b/config/nvim/lua/fschauen/keymap.lua index 739f950..6274449 100644 --- a/config/nvim/lua/fschauen/keymap.lua +++ b/config/nvim/lua/fschauen/keymap.lua @@ -59,14 +59,14 @@ imap('', '$') cmap('', '') -- navigate items in quickfix and location lists -nmap('', 'cnextzz', { silent = true }) -nmap('', 'cpreviouszz', { silent = true }) nmap('', 'lnextzz', { silent = true }) nmap('', 'lpreviouszz', { silent = true }) +nmap('j', 'cnextzz', { silent = true }) +nmap('k', 'cpreviouszz', { silent = true }) -- navigate diagnostics -nmap('j', require('fschauen.util').goto_next_diagnostic) -nmap('k', require('fschauen.util').goto_prev_diagnostic) +nmap('dj', require('fschauen.util').goto_next_diagnostic) +nmap('dk', require('fschauen.util').goto_prev_diagnostic) -- toggle quickfix and location lists nmap('lq', util.toggle_quickfix, { desc = 'Toggle quickfix' } )