by korch · 16y ago · 0 comments
Vim ftw!
In insert mode the keys CTRL-P, CTRL-N complete the previous/next matching word. Instead of these keys you can use the supertab plugin, to complete a word by hiting tab in insert mode.
You can choose where vim searches for matching words with the variable 'complete'.
There's also the omnicompletion, which does language specific completes, like method names of an object, by using ctags.
Search for 'omnicomplete <language>' to find the language specific plugin.
Ruby => http://vimdoc.sourceforge.net/htmldoc/if_ruby.html Python => http://vimdoc.sourceforge.net/htmldoc/if_pyth.html