Skip to content

Commit

Permalink
neovim: fix gitsigns next/prev funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
geodimm committed Dec 11, 2024
1 parent 9564a43 commit e1bff88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvim/lua/plugins/git.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ return {
keymap.set({ 'n', 'v' }, '<leader>hs', gitsigns.stage_hunk, { desc = 'Stage hunk' })
keymap.set('n', '<leader>hu', gitsigns.undo_stage_hunk, { desc = 'Undo stage hunk' })
keymap.set('n', '<leader>ht', gitsigns.toggle_deleted, { desc = 'Toggle deleted' })
keymap.set('n', ']c', next_hunk, { desc = 'Next hunk', expr = true })
keymap.set('n', '[c', prev_hunk, { desc = 'Previous hunk', expr = true })
keymap.set('n', ']c', next_hunk, { desc = 'Next hunk' })
keymap.set('n', '[c', prev_hunk, { desc = 'Previous hunk' })
end,
})
end,
Expand Down

0 comments on commit e1bff88

Please sign in to comment.