72079Re: Breaking undo in Insert mode
- Jul 11, 2013On Thu, July 11, 2013 17:36, Ben Fritz wrote:
> On Thursday, July 4, 2013 4:44:26 AM UTC-5, Bram Moolenaar wrote:Wouldn't in this example CTRL-R= also change the text and therefore break
>> Perhaps we can somehow detect that CTRL-R = had the side effect of
>> changing the text and then split undo. When it only returns the text to
>> be inserted, there is no need to split undo.
> Even though it won't fix it all the way, I think this is a good idea. It
> will make things a lot better at least.
> Then we can do this obviously simplified example without breaking undo:
> inoremap <Space> <C-R>="\<LT>Space>"<CR>
undo here as well?
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+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic Next post in topic >>