« Back to Index

Vim: programming autocomplete with no plugins

View original Gist on GitHub

Tags: #vim #autocomplete

Vim programming autocomplete with no plugins.md

filetype plugin on
set omnifunc=syntaxcomplete#Complete

<C-x><C-o>

Vim also provides the native command <C-n> for autocompletion based on words existing in all opened files (buffers).