diff --git a/.config/nvim/lua/config/keymaps.lua b/.config/nvim/lua/config/keymaps.lua index d1c8196c..07fdc998 100644 --- a/.config/nvim/lua/config/keymaps.lua +++ b/.config/nvim/lua/config/keymaps.lua @@ -108,6 +108,10 @@ map({ "n" }, "yc", '"zyygcc"zp', { remap = true, silent = true, desc = " -- }) -- Snacks.toggle.map(lsptoggle, "cL", { desc = "Toggle LSP" }) +-- diagnostic hopping +-- map({ "n" }, "h", 'echo "test" ', { noremap = true, desc = "Next Diagnostic" }) +-- • *vim.diagnostic.goto_next()* Use |vim.diagnostic.jump()| with `{count=1, float=true}` instead. + -- better quit map("n", "", "qa", { desc = "Quit All" }) map({ "n", "x" }, "", "", { desc = "Increment" })