change keymap for next diagnostic
This commit is contained in:
parent
4aba933e69
commit
d43fe76288
|
@ -55,9 +55,9 @@ vim.api.nvim_create_autocmd("LspAttach", {
|
||||||
bufmap("n", "gl", "<cmd>lua vim.diagnostic.open_float()<cr>")
|
bufmap("n", "gl", "<cmd>lua vim.diagnostic.open_float()<cr>")
|
||||||
|
|
||||||
-- Move to the previous diagnostic
|
-- Move to the previous diagnostic
|
||||||
bufmap("n", "[d", "<cmd>lua vim.diagnostic.goto_prev()<cr>")
|
bufmap("n", "nd", "<cmd>lua vim.diagnostic.goto_prev()<cr>")
|
||||||
|
|
||||||
-- Move to the next diagnostic
|
-- Move to the next diagnostic
|
||||||
bufmap("n", "]d", "<cmd>lua vim.diagnostic.goto_next()<cr>")
|
bufmap("n", "nd", "<cmd>lua vim.diagnostic.goto_next()<cr>")
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue