mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 12:48:01 +00:00
[neovim] Add new keymaps to gitsigns
This commit is contained in:
parent
6a49395208
commit
61f113d9d8
@ -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,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user