On Thursday, October 2, 2014 5:21:37 AM UTC-5, Erik Christiansen wrote:
>
>
> What sneaks up on me is a lazy iab which on occasion triggers when
>
> I don't want it. Rather than train my fingers to a new (longer) iab, is
>
> there anything to undo the immediately preceding iab expansion?
>
>
>
> Backspacing to remove the expansion is fruitless, since the iab is
>
> re-expanded as soon as the spacebar is whacked.
>
>
>
> Unfortunately, CTRL-[ is not it, since that merely replicates <Esc>.
>
> (Incidentally, I've mapped <Caps-Lock> to <Esc>, as a cross-application
>
> fix for the distant and tiny <Esc> on laptops, so have no use for
>
> CTRL-[ )
>
>
Oooooh I get it. This is a NEW question.
To avoid expanding an abbreviation, simply type <C-V> before the space. Or hit <C-C> to leave insert mode without expanding the abbreviation. Or use <C-G>u to drop an undo point and prevent the abbreviation from expanding when you continue typing.
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment