-
Notifications
You must be signed in to change notification settings - Fork 6
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
vi( and di( behave inconsistently #6
Comments
Sorry it took me so long to get back to you >.< Could you provide an example buffer contents / starting cursor position where this happens? |
Holy shit, I just saw this now :( Anyway, take any sort of text. This is the sample text I was using
where [ indicates the position of the cursor. As mentioned above, |
At this point I'm likely going to end up doing a full rewrite from the ground up when I get the chance which should take care of this and a number of other issues. May take me a bit to get to it, though : |
Ok, no problem. Would it be too difficult to add support for custom next/prev mappings as shown [here]?(https://gist.github.com/kshenoy/4698889) Basically, instead of automatically searching for the next parentheses and operating on them as we're doing now, you can specify whether to look ahead or behind. |
If I understood your request correctly, TextObjectify (is supposed to) already support that by setting the 'seek' value for the given mapping. That's one of the main things I use TextObjectify for, actually. See ":help textobjectify-configuration" and note the "seek" bullet point. |
vi(
correctly seeks forward to the next parentheses pair and selects the text between them.However,
di(
doesn't delete the text between them.The text was updated successfully, but these errors were encountered: