From e6c3afca3d7482783d8a19a1841c425be2c64146 Mon Sep 17 00:00:00 2001 From: Simon Lasbrugnas Date: Wed, 4 Sep 2024 13:49:05 +0200 Subject: [PATCH] chore(gitsigns): inverse next / prev hunk --- lua/plugins/git.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/git.lua b/lua/plugins/git.lua index 4b6c066..09ce95a 100644 --- a/lua/plugins/git.lua +++ b/lua/plugins/git.lua @@ -38,8 +38,8 @@ return { vim.keymap.set(mode, l, r, { buffer = buffer, desc = desc }) end - map("n", "]h", gs.next_hunk, "Next Hunk") - map("n", "[h", gs.prev_hunk, "Prev Hunk") + map("n", "[h", gs.next_hunk, "Next Hunk") + map("n", "]h", gs.prev_hunk, "Prev Hunk") map({ "n", "v" }, "ghr", "Gitsigns reset_hunk", "Reset Hunk") map("n", "ghR", gs.reset_buffer, "Reset Buffer") map("n", "ghp", gs.preview_hunk, "Preview Hunk")