2014-04-04 16:04 GMT+04:00 Christian Brabandt <cbli...@256bit.org>: > 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. > > That's true, so I just want to make feature-request: it would really be good if vimscript has tools for concatenating two (or more) actions into one, to make them repeatable and undoable at once. Do you agree?
-- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.