ZeroKnight/vim-signjump

Support 'wrapscan'

Closed this issue · 2 comments

Should NextSign and PrevSign support 'wrapscan' behavior?

In essence, much like searching, NextSign on or after the last sign would wrap to the beginning of the file and end up on the first sign, vice-versa for PrevSign.

Remember to update the README to reflect this change.

Perhaps it would be a good idea to include an option to allow fine-tuning this behavior, perhaps something like:

  1. Never wrap
  2. Follow current 'wrapscan' setting
  3. Always wrap

Resolved by 9f3a1e3.