rhysd / conflict-marker.vim

Weapon to fight against conflicts in Vim.
488 stars 18 forks source link

feat: wrap search for next/prev hunk #23

Open hayderhassan opened 1 year ago

hayderhassan commented 1 year ago

When navigating prev/next hunks, it stops at the first/last result in the file respectively. It would be more intuitive to continue the searching by wrapping round the other side of the file.

So with these changes, if the final hunk is reached when searching for next/prev hunk, it will wrap to the start/end of the file respectively.