hlissner / evil-snipe

2-char searching ala vim-sneak & vim-seek, for evil-mode
MIT License
340 stars 25 forks source link

snipe-repeat only repeat in line #3

Closed adouzzy closed 9 years ago

adouzzy commented 9 years ago

when evil-snipe-scope is set 'visible other than default 'line evil-snipe-repeat only jumps within current line. It won't jumpt to the matches in the following lines.

Maybe the scope variable is not referenced in snipe-repeat?

Cheers,

hlissner commented 9 years ago

I separated the scope variables into evil-snipe-scope (for searches) and evil-snipe-repeat-scope (for repeating). This should fix your problem:

(setq evil-snipe-repeat-scope 'visible)

EDIT: Or try 'whole-visible if you'd like matches on both sides of the cursor to be highlighted while repeating.

adouzzy commented 9 years ago

I just saw the variable in the script. Thanks. Nice job! close the issue please.