offset for zz

This commit is contained in:
2024-04-26 14:30:53 +02:00
parent e5f3d8da23
commit 662960b1b1
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ local on_attach = function(_, bufnr)
keymap.set("n", "<leader>d", "<cmd>Telescope diagnostics<CR>", opts) -- jump to previous diagnostic in buffer
-- keymap.set("n", "<leader>d", "<cmd>Lspsaga show_buf_diagnostics<CR>")
keymap.set("n", "<leader>dn", "<cmd>Lspsaga diagnostic_jump_next<CR>") -- jump to next diagnostic in buffer
keymap.set("n", "<leader>db", "<cmd>Lspsaga diagnostic_jump_prev<CR>") -- jump to previous diagnostic in buffer
keymap.set("n", "<leader>dp", "<cmd>Lspsaga diagnostic_jump_prev<CR>") -- jump to previous diagnostic in buffer
keymap.set("n", "gj", "]m", opts) -- jump to next method
keymap.set("n", "gk", "[m", opts) -- jump to previous method