On Do, 03 Apr 2014, Dmitry Frank wrote: > Consider a simple example: say, I just typed foo, then pressed Left key, > and typed bar. Now I have fobaro. > > When I press . key, only bar part is repeated, and the same is with undo. > > So I want the whole fobaro to be repeated when I press ., and to be undid > completely at once when I press u. > > I'm just writing plugin ( auto-pairs-gentle <http://goo.gl/VyOZ0r> ) that > does some tricks like that, and I want it not to break undo history. > > A couple of months ago I asked that on stackoverflow: > http://stackoverflow.com/questions/20863411/vim-concatenate-two-actions-into-one-to-make-it-repeatable-by-and-undoable,
Not possible currently, I am afraid. IIRC using the cursor keys always breaks redo. Best, Christian -- Wußten Sie schon... ... daß man Flutlicht auch bei Ebbe einschalten darf? -- -- You received this message from the "vim_dev" 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_dev" 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.
