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

139236Re: undo/redo problem

Expand Messages
  • Tim Chase
    Sep 19, 2013
      On 2013-09-18 23:33, Gary Johnson wrote:
      > The only time I have that problem is when I have just typed some
      > text in insert mode and I accidentally hit Ctrl-W. I don't know of
      > any way to recover that deleted text.

      Post-facto, I don't know of a way either. But in most of my vimrc
      files, I have

      inoremap <c-u> <c-g>u<c-u>
      inoremap <c-w> <c-g>u<c-w>

      which preventively drops an undo breakpoint if I use either <c-u> or
      <c-w> so I can come back later.


      You received this message from the "vim_use" 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_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 8 messages in this topic