nvim: keymappings: Remove diagnostic mappings which are now default
This commit is contained in:
parent
01749031fb
commit
dc40ccac1e
1 changed files with 1 additions and 2 deletions
|
@ -156,8 +156,7 @@ remap('n', '<Leader>mc', ':norm `.<CR>' , opts)
|
||||||
remap('n', '<Leader>mi', ':norm `^<CR>' , opts)
|
remap('n', '<Leader>mi', ':norm `^<CR>' , opts)
|
||||||
remap('n', '<Leader>mj', ':norm `\'<CR>', opts)
|
remap('n', '<Leader>mj', ':norm `\'<CR>', opts)
|
||||||
|
|
||||||
remap('n', '[d', '<cmd>lua vim.diagnostic.goto_prev { wrap = false }<CR>' , opts)
|
-- [d and ]d are mapped by default
|
||||||
remap('n', ']d', '<cmd>lua vim.diagnostic.goto_next { wrap = false }<CR>' , opts)
|
|
||||||
remap('n', '[D', '<cmd>lua vim.diagnostic.goto_prev()<CR>' , opts)
|
remap('n', '[D', '<cmd>lua vim.diagnostic.goto_prev()<CR>' , opts)
|
||||||
remap('n', ']D', '<cmd>lua vim.diagnostic.goto_next()<CR>' , opts)
|
remap('n', ']D', '<cmd>lua vim.diagnostic.goto_next()<CR>' , opts)
|
||||||
remap('n', 'dl', '<cmd>lua vim.diagnostic.setloclist()<CR>' , opts)
|
remap('n', 'dl', '<cmd>lua vim.diagnostic.setloclist()<CR>' , opts)
|
||||||
|
|
Loading…
Reference in a new issue