> What would you like to get when you press " right after
> a string, what is usually your intention? to close
> an unbalanced quote or to start a new quoted text?
> should you get a pair of quotes or a single quote?
when i enter 'foo"' then mostly i am
setting an ending quote for the word.
but that's not always the case as there
might be more than one word for a phrase.
so rather than adding an AI plugin,
i use a comma as a "mapleader":
imap ,** <c-o>B*<c-o>E<right>*
imap ,"" <c-o>B"<c-o>E<right>"
imap ,// <c-o>B/<c-o>E<right>/
not automatic, but, hey -
*works* /for/ "me". :-)
Sven
--
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
To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
No comments:
Post a Comment