>
> * Israel Chauca F. <israelvarios@fastmail.fm> [2010-03-25 09:34]:
>> 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.
This is what I usually do too.
> 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":
delimitMate's IQ is pretty low, just a couple of rules. I don't really like smart features, learned it the hard way: they only had MS Word when I was studying :)
>
> 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". :-)
That's what matters.
Thanks!
Israel
--
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