Sunday, August 5, 2012

Re: undo every single completion

On 08/05/12 18:57, Johannes Deutsch wrote:
>> :help i_CTRL-G_u
>
> It seems to be more complicated, because supertab severely alters
> vim's common completion process.

Okay...sorry I can't help more there. I suspect that the sequence
is the answer in question, but it's just a matter of where to wedge
it into the supertab plugin. Hopefully the folks more familiar with
it can point you in the right direction

> Nevertheless i've learned a new key sequence which might be
> useful some day.

I keep a pretty svelte .vimrc file, but it does include these two
lines to keep me from losing too much data:

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

I don't issue ^Gu manually, but find it more useful in mappings.

-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

No comments: