Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using eclim to bring some eclipse functionality to VIM, however the code completion functions seem to work less than ideal. When I press ctrl+x ctrl+u after, for instance, System.out. with the curser right after the last dot, I get the completion popup-menu. This menu is really rather cumbersome to use, and the functionality that I would ideally want is something like:

ctrl+x ctrl+u (expands to longest match) fill in more characters (expand to longest match). Is this possible somehow? I've tried fiddling with the completeopts settings, but they don't seem to do what I want.

share|improve this question
up vote 2 down vote accepted

So does

:set completeopt=longest

not do roughly what you need?

share|improve this answer
It does, apparently SuperTab was messing up its functionality. Thanks. – Sarah Mar 9 '10 at 15:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .