Update lua/plugins/gitsigns.lua
All checks were successful
Build neovim image / build-neovim-amd64 (push) Successful in 11m11s
Build neovim image / build-neovim-arm64 (push) Successful in 17m20s
Build neovim image / update-images-manifest (push) Successful in 15s

This commit is contained in:
Szwendacz 2024-06-21 12:27:12 +00:00
parent c451eaa324
commit d9edfbb80b

View file

@ -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)