mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
fix(editor): gitsigns prev/next hunk keymap (#26)
Co-authored-by: Myles Mo <mylesmo.ash@gmail.com>
This commit is contained in:
parent
f7475ab7aa
commit
a0fadd6a11
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue