简体   繁体   中英

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.

替代文字

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 ?

vimscripts有一个名为autocomplpop.vim的插件可以满足您的需求。

另一种选择是由Shougo制作的名为neocomplcache的vim脚本。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM