[neovim] Add new keymaps to gitsigns

This commit is contained in:
Daniel Carrillo 2022-11-24 19:30:42 +01:00
parent 6a49395208
commit 61f113d9d8
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
1 changed files with 3 additions and 0 deletions

View File

@ -28,5 +28,8 @@ gitsigns.setup({
map({ "n", "v" }, "<leader>hr", ":Gitsigns reset_hunk<CR>")
map("n", "<leader>hp", gs.preview_hunk)
map("n", "<leader>hR", gs.reset_buffer)
map('n', '<leader>hd', gs.diffthis)
map('n', '<leader>hj', gs.next_hunk)
map('n', '<leader>hk', gs.prev_hunk)
end,
})