Awesome patch. I tested here it works perfectly. Any chance this to be applied to mainline?
On Wednesday, March 25, 2015 at 12:02:32 PM UTC-7, Ben Fritz wrote: > On Wednesday, January 21, 2015 at 11:06:53 AM UTC-6, Ben Fritz wrote: > > On Saturday, January 17, 2015 at 1:20:04 PM UTC-6, Bram Moolenaar wrote: > > > > > > Since undo works by saving the line before changing it, restricting the > > > "keep undo" modifier to only work when the cursor remains in the same > > > line should work. It's also fairly easy to understand, instead of > > > making a list of specific commands for which undo can be kept. > > > > > > Note that "." to repeat the insert may not always work properly. Need > > > to check that. > > > > > > > Wow. WOW! Thanks for the patch, Christian! > > > > I tested with some fairly simple mappings, and it works perfectly! > > > > Updated patch to apply cleanly (with line offsets but no fuzz) to the latest > source. -- -- 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.