fix(editor): gitsigns prev/next hunk keymap (#26)

Co-authored-by: Myles Mo <mylesmo.ash@gmail.com>
This commit is contained in:
Myles MoandMyles Mo authored and GitHub committed 2023-01-09 08:03:53 +01:00
1 parent f7475ab7aa
commit a0fadd6a11
1 file changed
+2 -2
+2 -2
View File
@@ -180,8 +180,8 @@ return {
end
-- stylua: ignore start
map("n", "]h", gs.prev_hunk, "Next Hunk")
map("n", "[h", gs.next_hunk, "Prev Hunk")
map("n", "]h", gs.next_hunk, "Next Hunk")
map("n", "[h", gs.prev_hunk, "Prev Hunk")
map({ "n", "v" }, "<leader>ghs", ":Gitsigns stage_hunk<CR>", "Stage Hunk")
map({ "n", "v" }, "<leader>ghr", ":Gitsigns reset_hunk<CR>", "Reset Hunk")
map("n", "<leader>ghS", gs.stage_buffer, "Stage Buffer")