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.

-tim




-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to