Loading ...
Sorry, an error occurred while loading the content.

72080Re: Breaking undo in Insert mode

Expand Messages
  • Christian Brabandt
    Jul 11, 2013
      On Thu, July 11, 2013 17:41, Benjamin Fritz wrote:
      > On Thu, Jul 11, 2013 at 10:36 AM, Ben Fritz <fritzophrenic@...>
      > wrote:
      >> On Thursday, July 4, 2013 4:44:26 AM UTC-5, Bram Moolenaar wrote:
      >>> 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>
      > Wasn't this supposedly fixed?
      > 7.3.1290 (after 7.3.1253) CTRL-R = in Insert mode starts new insert

      No, that fixes the problem that ctrl-r = in insert mode changes the
      position of the '[ mark.


      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.
    • Show all 18 messages in this topic