Nate Murray
Nate Murray

Reputation: 3991

XCode-like auto completion in vim (without tab)?

Greetings. I've been using vim for years, and I've recently started toying with XCode. One of the things I really like about XCode is that it will auto complete words without me hitting <TAB>.

For instance, in this image below I only need to type NSSObj and the rest is filled in automatically, no special keystroke required.

alt text

I'd like to reproduce this effect in vim.

To be clear, this question is not about how to get tab/omni-completion working in vim. I've already got tab/omni completion working just fine and that's not a problem. The question is: does anyone know how to get vim to autocomplete as I am typing ?

Upvotes: 8

Views: 2438

Answers (2)

Hai Feng Kao
Hai Feng Kao

Reputation: 5298

Another option is a vim script called neocomplcache made by Shougo.

Upvotes: 3

Bryan Alves
Bryan Alves

Reputation: 619

vimscripts has a plugin called autocomplpop.vim that does what you want.

Upvotes: 15

Related Questions