diff --git a/nvim/.config/nvim/lua/keymappings.lua b/nvim/.config/nvim/lua/keymappings.lua index 8cd68ab..6e3bde4 100644 --- a/nvim/.config/nvim/lua/keymappings.lua +++ b/nvim/.config/nvim/lua/keymappings.lua @@ -156,9 +156,7 @@ remap('n', 'mc', ':norm `.' , opts) remap('n', 'mi', ':norm `^' , opts) remap('n', 'mj', ':norm `\'', opts) --- [d and ]d are mapped by default -remap('n', '[D', 'lua vim.diagnostic.goto_prev()' , opts) -remap('n', ']D', 'lua vim.diagnostic.goto_next()' , opts) +-- [d, ]d, [D, ]D are mapped by default remap('n', 'dl', 'lua vim.diagnostic.setloclist()' , opts) remap('n', 'dq', 'lua vim.diagnostic.setqflist()' , opts) remap('n', 'dr', 'lua vim.diagnostic.reset()' , opts)