Search code examples
vimautocompletemacvim

Autocompletion in Vim


I'm having trouble with autocompletion. How can I get a code suggestion while I'm typing?

I usually develop in PHP, Ruby, HTML, C and CSS.


Solution

  • You can use a plugin like AutoComplPop to get automatic code completion as you type.

    2015 Edit: I personally use YouCompleteMe now.