On 05/07/12 20:08, Tim Chase wrote:
On 07/05/12 13:02, Tony Mechelynck wrote:
With i( Vim knows that the ( has to be before the cursor and ) after it.
With i" there is no such criterion, especially in languages where line
breaks are legal inside a string. So Vim looks for the nearest (or, with
a count, nth-nearest) quote on either side of the cursor.
the only problem is that
ci"
doesn't work on multi-line strings, e.g. this Python:
foo = """
my cursor
--> X <--
is here between
the arrows
"""
And I'd consider *that* a bug :-) (or at least an un-feature)
-tim
I checked (unlike for my preceding post), and sure enough, it is
documented (under :help a" ): "Only works within one line".
Best regards,
Tony.
--
If someone were to ask me for a short cut to sensuality, I would
suggest he go shopping for a used 427 Shelby-Cobra. But it is only
fair to warn you that of the 300 guys who switched to them in 1966,
only two went back to women.
-- Mort Sahl
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php