Sunday, October 9, 2011

completion options that completes longest common match, but does not delete already typed characters

Hi,

I am using gvim vim eclim.
I have set completeopt=longest,menuone so that when I do
autocompletion (C-X C-U) the longest common match should be inserted.

Now I have the following scenario:

Ga<C-X C-U>

the possible matches, listed, are:
Game
GAME_H_

Now the completion says: User defined completion (^U^N^P) Back at
original
And deletes the "a" so, that only the "G" remains.

If I already typed "Ga" I only want completions starting with "Ga" and
I do not want the completion to delete any characters I already typed.

Can I configure completion to do this?

Thanks!
Nathan

--
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:

Post a Comment