aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2025-01-31 17:35:26 +0000
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2025-01-31 17:56:07 +0000
commit84006bade072d8b3c390beddceae7222e0432667 (patch)
tree630e6efe48e927313a63a736c6184c5ca3b7adc9 /home
parent50c107a25b327d626985b28aeb8f9a6bbd571345 (diff)
downloaddotfiles-84006bade072d8b3c390beddceae7222e0432667.tar.gz
dotfiles-84006bade072d8b3c390beddceae7222e0432667.tar.bz2
dotfiles-84006bade072d8b3c390beddceae7222e0432667.zip
[nvim] Change diagnostics mappings
Diffstat (limited to 'home')
-rw-r--r--home/.config/nvim/after/plugin/mappings.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/.config/nvim/after/plugin/mappings.lua b/home/.config/nvim/after/plugin/mappings.lua
index 1fb39ef..a2fb6cd 100644
--- a/home/.config/nvim/after/plugin/mappings.lua
+++ b/home/.config/nvim/after/plugin/mappings.lua
@@ -51,9 +51,9 @@ map.n("<c-l>", "<c-w>l")
map.t("<Esc>", "<c-\\><c-n>", { silent = true, noremap = true, expr = true })
-map.n("[e", function()
+map.n("[w", function()
vim.diagnostic.goto_prev({ severity = vim.diagnostic.severity.ERROR })
end)
-map.n("]e", function()
+map.n("]w", function()
vim.diagnostic.goto_next({ severity = vim.diagnostic.severity.ERROR })
end)