chore(gitsigns): Remove visual mappings from select mode
This commit is contained in:
parent
de44f49101
commit
08efa9901b
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue