I’ve tried switching to Vim three times. The first time I was overwhelmed by the Janus distribution and gave up. The second time I was also starting a new job and felt I wasn’t getting enough traction. The third time it stuck.
This is what I did differently:
I refreshed my Vim knowledge with $ vimtutor.
I bought Practical Vim.
I started with an empty .vimrc file (it has grown since then) and zero plugins.
I went through a coworker’s .vimrc file and looked up what each setting did. Only then did I copy it over to mine.
I used pathogen to manage my plugins.
I watched the Destroy All Software Vim screencasts.
Most important of all: I hid my old IDE, started a new small project and forced myself to use Vim.
Then it hit me. The power behind Vim is the .vimrc file. Not the movement and editing shortcuts that people rave about. Once you realize that you can bend and shape Vim to your will, way beyond what any other IDE would allow, you can’t go back.
Want a crazy example of the stuff you can do with Vim? Drop this in your .vimrc file and anytime you save a file Vim will submit a POST request to a URL with the file name: