Saturday, August 22, 2009

Omni completion deletes text

I have:
VIM - Vi IMproved 7.1 (2007 May 12, compiled Jan 8 2009 02:24:14)
Included patches: 1-138

:set ignorecase
:set infercase
:set completeopt=longest,menuone

I have tab bound to omni completion with ^x^o. Any time I complete
anything that has matches that are both upper and lower case, vim
deletes everything I've typed up to that point.

For example, I type beginning_of_func, hit ^x^o, and there are matches
for beginning_of_func_a and Beginning_of_func_b, then vim deletes
everything back to before I typed beginning_of_func.

Is there any way to fix this without removing the "longest" complete
option?

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

No comments: