Vim auto complete

浪尽此生 提交于 2019-12-02 14:54:58
c00kiemon5ter

Map Tab to Ctrl-X,Ctrl-O

:imap <tab> <c-x><c-o>

See this page from vim-wiki for a smarter Tab completion

I realize this question has been already answered, but you might be interested in a plugin such as SuperTab, which provides auto-completion and uses more than one type of auto-completion depending on the context and what type of completion you have been using.

enthusiasticgeek

The latest version of VIM includes auto complete Go to insert mode at specified line Ctrl-i then Press Ctrl-n while in the insert mode.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!