2008/12/29 Ben Schmidt <[email protected]>:

 > I don't know of any way to turn off abbreviation
 > expansion when you use space or enter, though.

That's quite easy:

   imap <c-b> <c-v><c-a><c-]>

and define your abbrevs like so:

   ab foo<c-a> foobarbaraann()

Then foo<c-b> will expand to foobarbaraann() but foo<space>
will not. Obviously foo<c-v><c-a><space> will also expand to
foobarbaraann(), but you're not going type that. Are you? --Antony

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to