On 02.10.14 18:58, Christian Brabandt wrote: > Perhaps it would be enough to simply drop an undo point, before > expanding an abbreviation in insert mode? Something like this patch > perhaps? ...
Thanks Christian. That does work. Given Ben's neat ^V fix, I wouldn't strongly advocate the patch on the basis of my use case, though. (Dunno if it has broader applicability.) On 02.10.14 11:57, Ben Fritz wrote: > Doesn't that prevent repeat with '.' from working properly? Well, it isn't consistent with manual input behaviour. Chaining several instances of subsequently-undone expanded abbreviations leaves a space separated sequence of the abbreviations. Dot, however, results in placing an expanded abbreviation, and undo undoes the _whole_ expansion, leaving nothing. Sorry Christian, I think I'll rebuild without the patch, now. But it did push me to update to the current patch level. (So while I remain an old Vimmer, I'm no longer an Old-Vimmer.) Erik -- The eagle may soar, but the weasel never gets sucked into a jet engine. -- -- 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.
