Bug fix
This commit is contained in:
parent
1d5a0f0903
commit
66b81ee300
@ -33,16 +33,16 @@ require('gitsigns').setup{
|
||||
end)
|
||||
|
||||
-- Actions
|
||||
map('n', '<leader>hs', gitsigns.stage_hunk, { desc = 'stage hunk')
|
||||
map('n', '<leader>hr', gitsigns.reset_hunk, 'reset hunk')
|
||||
map('n', '<leader>hS', gitsigns.stage_buffer, 'stage buffer')
|
||||
map('n', '<leader>hu', gitsigns.undo_stage_hunk, 'undo stage hunk')
|
||||
map('n', '<leader>hR', gitsigns.reset_buffer, 'reset buffer')
|
||||
map('n', '<leader>hp', gitsigns.preview_hunk, 'preview hunk')
|
||||
map('n', '<leader>hb', function() gitsigns.blame_line{full=true} end, 'hunk blame')
|
||||
map('n', '<leader>tb', gitsigns.toggle_current_line_blame, 'toggle single line blame')
|
||||
map('n', '<leader>hd', gitsigns.diffthis, 'hunk diff')
|
||||
map('n', '<leader>hD', function() gitsigns.diffthis('~') end, 'diff deleted')
|
||||
map('n', '<leader>td', gitsigns.toggle_deleted, 'toggle deleted')
|
||||
map('n', '<leader>hs', gitsigns.stage_hunk, { desc = 'stage hunk' })
|
||||
map('n', '<leader>hr', gitsigns.reset_hunk, { desc = 'reset hunk' })
|
||||
map('n', '<leader>hS', gitsigns.stage_buffer, { desc = 'stage buffer' })
|
||||
map('n', '<leader>hu', gitsigns.undo_stage_hunk, { desc = 'undo stage hunk' })
|
||||
map('n', '<leader>hR', gitsigns.reset_buffer, { desc = 'reset buffer' })
|
||||
map('n', '<leader>hp', gitsigns.preview_hunk, { desc = 'preview hunk' })
|
||||
map('n', '<leader>hb', function() gitsigns.blame_line{full=true} end, { desc = 'hunk blame' })
|
||||
map('n', '<leader>tb', gitsigns.toggle_current_line_blame, { desc = 'toggle single line blame' })
|
||||
map('n', '<leader>hd', gitsigns.diffthis, { desc = 'hunk diff' })
|
||||
map('n', '<leader>hD', function() gitsigns.diffthis('~') end, { desc = 'diff deleted' })
|
||||
map('n', '<leader>td', gitsigns.toggle_deleted, { desc = 'toggle deleted' })
|
||||
end
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user