Which Vim plugin autocompletes Ruby code?
autocomplete, plugins, ruby, vim
Solution
Could it be Snipmate?
You can find Ruby snippets for Snipmate here.
Just do:
git clone https://github.com/scrooloose/snipmate-snippets.git
rake deploy_local
Problem
Some time ago, when I was using Janus, I could autocomplete Ruby code. I don't mean "autocomplete" in the sense of the `SuperTab` plugin, I mean, for example, when you type ``` collection.ea ``` And then hit the `Tab` key, you get ``` collection.each do || end ``` And your cursor is positioned between the `||`. You could also do the similar when defining a method. Does anyone know how that plugin is called?. The problem is that I'm not using Janus anymore, so I don't have that plugin anymore. I looked at every plugin in the Janus documentation, but I couldn't find it.