part of the family
beyond corporate purpose

Switching to Vim

07 Jan 2011

As a fulltime Textmate user, I was really happy with my editor. Even with 2 colleagues that try to convince me that Emacs is the way to go, But I still didn’t feel the need to switch. But then one day something popped… The day after I switched to Vim, and until now I’m really glad I did.

So why would I do this?

Well, I can’t lie to you. I wanted something more special than Textmate, everybody uses Textmate these days and I have the impression that more developers in the Rails community are switching to an editor like Emacs or Vim. And because Piet is a die hard Emacs user I wanted to compete with him by using Vim.


I have my whole Vim configuration on my Github account, just in case my machine desides to explode. You can find it here. This can come in very handy when working on multiple machines, just commit, push and pull and the configuration is identical on both machines! Isn’t that just freakin’ awesome?

These are some of the features/plugins I added to my configuration:

  • Ack (find in project) support
  • Emacs-style file finder called Lusty Explorer
  • A nice Railscast colorscheme
  • Somewhat better full screen support
  • A simple strip trailing spaces function

Here is an example screenshot of the colorscheme I use in MacVim.

The Railscast colorscheme

I’m adding new stuff every day while learning more about Vim.

Installing my config

First things first, backup your current configuration so you don’t have to blame me for ruining your life.

Next up:

  • Clone this repo to .vim/
  • Create a simlink for the .vimrc: ln -nfs ~/.vim/.vimrc ~/.vimrc
  • Create a symlink for the .gvimrc: ln -nfs ~/.vim/.gvimrc ~/.gvimrc

And that’s all you have to do.



blog comments powered by Disqus