Skip to content
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

Feature Request: Symbol Groups (characters matching a group of characters.) #192

Closed
yzhuang opened this issue Jan 26, 2017 · 1 comment
Closed

Comments

@yzhuang
Copy link

yzhuang commented Jan 26, 2017

E.g. It would be nice to be able to define character "[" to match any of "[", "(", "<", or "{", so that when "sa[" is typed, it match "a(" or "a[" or "a{" or "a<".

This feature is available in vim-sneak clones, e.g. evil-snipe, but doesn't seem to be available in vim-sneak itself.

Having this functionality in vim-sneak would be nice. Personally, I find it very helpful to define ";" to match all punctuations / symbols. So "sf;" can match all the the following cases, and ";" is much easier to type than "~" or "=" or "(" and so on.

int f[10]
public void f() { ... }
f++
<a href=...>
@justinmk
Copy link
Owner

justinmk commented Aug 29, 2018

In all of those cases I would do s<space>f instead of sf<punctuation>.

However one could use a regex to achieve something similar. If that's ever implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants