On 22.09.14 20:00, Christian Brabandt wrote: > On Mo, 22 Sep 2014, Gevisz wrote: > > > So, it would be nice to have a short key mapping, > > for example with <F4>, that would force Vim to > > reconsider just typed abbreviation and expand it > > even it was typed in the last session. > > Sounds like you are looking for Ctrl-] (:h i_CTRL-])
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-[ ) Erik -- Investment in infrastructure accounts for much of China's GDP - the country is said to have built the equivalent of Rome every two months in the past decade. And with such a large pool of labour, it is harder to put the brakes on when growth slows and supply outstrips demand. - http://www.bbc.com/news/magazine-19049254 -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
