-
Notifications
You must be signed in to change notification settings - Fork 48
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
Underscore in pattern is not recognized #2
Comments
Thank you for the feedback. I'll investigate the problem. Please wait a moment. |
textobj-user doesn't consider about using the same pattern to express the beginning and the end of a range. I'll fix it later. As a workaround, use the following configuration instead. It emulates the original configuration you wrote, though it may not work as you expect in a specific situation.
|
Great, thanks for help. Btw, I also tried to change text between pipes "|" using "ci|" but pipe character isn't allowed unfortunately. But I suspect this won't be easy to workaround, am I right? Anyway, awesome plugin, good work man. |
Oops, previous comment was mine, but I forgot that I'm using different GH account :) |
It's not hard as you imagined. Use the following:
I suspect that you wrote Because
But Vim interprets the above commands as follows:
So it doesn't work. |
Thanks! You made my day ;) |
I had the same problem making a regex matcher. I am completely astounded no one has made a vim-textobj-regex yet. I was able to get it working with this:
I don't know if it's worthy to make a repo just for that, but maybe it is just so people can find it. |
@delvarworld make it a repo! |
Hi,
I don't know if I'm doing sth wrong but following code doesn't work for me:
What I want to achieve is to select "in" and "a" text between underscore characters - "_".
But after typing "ciu" when the cursor is between underscores doesn't work, vim just enters insert mode.
Should I use something else for pattern regexps?
Regards,
Marcin
The text was updated successfully, but these errors were encountered: