Update lua/plugins/gitsigns.lua
This commit is contained in:
parent
c451eaa324
commit
d9edfbb80b
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ return {
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Actions
|
-- Actions
|
||||||
map('n', '<C-g>', gs.preview_hunk)
|
map('n', '<C-g>', gitsigns.preview_hunk)
|
||||||
map('n', '<leader>hs', gitsigns.stage_hunk)
|
map('n', '<leader>hs', gitsigns.stage_hunk)
|
||||||
map('n', '<leader>hr', gitsigns.reset_hunk)
|
map('n', '<leader>hr', gitsigns.reset_hunk)
|
||||||
map('v', '<leader>hs', function() gitsigns.stage_hunk { vim.fn.line('.'), vim.fn.line('v') } end)
|
map('v', '<leader>hs', function() gitsigns.stage_hunk { vim.fn.line('.'), vim.fn.line('v') } end)
|
||||||
|
|
Loading…
Reference in a new issue