-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sneaky pattern searches #172
Comments
The intended theme of sneak.vim (and any of my plugins in general) is not to replace any part of Vim but to complement it or fill a real gap.
https://github.com/easymotion/vim-easymotion makes all these mistakes anyway, so it's available for people who want that. Note that a related discussion is at #104 and I plan to enable the functionality discussed there, though it's stalled at the moment. |
OK, thanks for considering it. I'll keep an eye on that other discussion. |
I strongly recommend this sensible.vim mapping if you aren't already using it:
Just mash |
Yep, I do use |
Sure, or |
Would it be possible to add a sneak mode for regular
/{pattern}
searches?I just started using vim-sneak, and I'm already very happy to have this replacing the normal
f
andt
movements for single-char searches. But now I feel there is a gap when I need to use a pattern search, andhlsearch
and the jump list don't work the same way. If I could sneak through those search results too, I think that consistency would be very nice.I'm not sure if I would commit fully to remapping this. Sometimes it is nice to have
hlsearch
shown, which is why I enable it at all, but often I only want to get to the right location and clear the highlight. So I think at first what I would want is to map something likeg/
to a sneaky search, leaving regular/
alone. This would use its own highlight instead ofhlsearch
, and jump withSneakNext
andSneakPrevious
. Bonus if it can still useincsearch
as the pattern is being typed.Thoughts?
The text was updated successfully, but these errors were encountered: