fix(editor): gitsigns prev/next hunk keymap (#26)
Co-authored-by: Myles Mo <mylesmo.ash@gmail.com>
This commit is contained in:
1 parent
f7475ab7aa
commit
a0fadd6a11
1 file changed
+2
-2
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user