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

Default select behavior #29

Closed
whatyouhide opened this issue May 31, 2014 · 0 comments
Closed

Default select behavior #29

whatyouhide opened this issue May 31, 2014 · 0 comments

Comments

@whatyouhide
Copy link

I'm not extremely familiar with vimscript, so I'm trying to avoid defining functions in order to match my textobj. Let's assume the textobj is a word for now.

By default, from what I understood, when I do this:

'pattern': '\w\+',
'select': 'iw', 'aw'

aw and iw will behave exactly the same.
I don't know if I'm missing something, but I think it would be super useful if by default a and i would behave like vim defaults: i for the pattern match, while a for the pattern match surrounded by whitespace.

Thanks!

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

No branches or pull requests

1 participant