justinmk / vim-sneak

The missing motion for Vim :athletic_shoe:
http://www.vim.org/scripts/script.php?script_id=4809
MIT License
3.26k stars 88 forks source link

Support for wrapscan? #295

Open RhvdG opened 2 years ago

RhvdG commented 2 years ago

I expected sneak to wrap the search. Any chance that might be implemented as an option?

brianxk commented 1 year ago

Sounds like the same issue I'm facing - sneak can only detect matches after the current cursor position. Is this intended?

Not sure if this would be a relevant factor, but I have remapped ',' to be my leader key.

ggandor commented 1 year ago

Sounds like the same issue I'm facing - sneak can only detect matches after the current cursor position. Is this intended?

S searches backwards (:help sneak-mappings). wrapscan refers to continuing the search from the beginning, when at the end of the file.