chore(gitsigns): Remove visual mappings from select mode

This commit is contained in:
NextMerge
2024-12-23 13:06:19 -05:00
committed by GitHub
parent de44f49101
commit 08efa9901b
2 changed files with 3 additions and 3 deletions

View File

@@ -34,10 +34,10 @@ return {
-- Actions
-- visual mode
map('v', '<leader>hs', function()
map('x', '<leader>hs', function()
gitsigns.stage_hunk { vim.fn.line '.', vim.fn.line 'v' }
end, { desc = 'git [s]tage hunk' })
map('v', '<leader>hr', function()
map('x', '<leader>hr', function()
gitsigns.reset_hunk { vim.fn.line '.', vim.fn.line 'v' }
end, { desc = 'git [r]eset hunk' })
-- normal mode