I do Ruby on Rails development pretty much exclusively. I currently develop in OS X using TextMate. I have a virtual machine running to emulate as closely as possible the enviro
Check out the blog post: From Textmate to VIM for Rails coders.
The comments there may also valuable for you.
All of the other answers plus:
Ability to have a (preferably) collapsible project tree visible either at all times or easily toggle-able.
:help mkview
and :help mksession
can help, too.Ability to see SCM status at a glance, either within this project tree (preferable) or otherwise. (I use git almost exclusively if this makes any difference.)
:help fugitive-statusline
.Being able to view a side-by-side diff from within vim would be great too
:Gdiff
command that does just that.<CR>
to open a previous commit in another window and D
to see a double diff.Code completion, if possible
<C-x><C-o>
, <C-n>
and <C-p>
will be more than enough, if you want "autocompletion" you may try these few plugins. My favorite is autocomplpop.I published an extended post on this topic today, in which I explain how to replicate 100 features from Textmate within VIM. It's the product of a great deal of hours research.
For example I explain:
Read Original Article: Textmate To VIM
This screencast is great as well http://blip.tv/file/1372096
I do use VIM and i specially like how to rotate from model/view and controller related..