From 52084e244f85d84c085c7ee46cf5aae45a29f7df Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Sun, 7 Jun 2026 15:06:03 +0200 Subject: fix(nvim): remap broken gitgutter mappings --- plugin/50-git.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugin/50-git.lua') diff --git a/plugin/50-git.lua b/plugin/50-git.lua index 77ee0c6..513074f 100644 --- a/plugin/50-git.lua +++ b/plugin/50-git.lua @@ -71,3 +71,7 @@ local git_blame_toggle = (function() end)() vim.api.nvim_create_user_command("GitBlame", git_blame_toggle, { desc = "Open/enter git blame window" }) + +-- The original mappings from the plugin are broken +vim.keymap.set("n", "]c", "GitGutterNextHunk", { desc = "Next git hunk" }) +vim.keymap.set("n", "[c", "GitGutterPreviousHunk", { desc = "Next git hunk" }) -- cgit v1.3.1