restore previous ][a for message nav

This commit is contained in:
Haak Saxberg 2023-01-25 12:08:04 -08:00
parent 6c329a8649
commit 0efe262d46

View file

@ -48,10 +48,10 @@ vim.api.nvim_create_autocmd("LspAttach", {
bufmap('n', 'gl', '<cmd>lua vim.diagnostic.open_float()<cr>')
-- Move to the previous diagnostic
bufmap('n', '[d', '<cmd>lua vim.diagnostic.goto_prev()<cr>')
bufmap('n', '[a', '<cmd>lua vim.diagnostic.goto_prev()<cr>')
-- Move to the next diagnostic
bufmap('n', ']d', '<cmd>lua vim.diagnostic.goto_next()<cr>')
bufmap('n', ']a', '<cmd>lua vim.diagnostic.goto_next()<cr>')
end
})