Favorite Vim Configurations

Vim is very powerful with just:

set nocompatible
syntax on
filetype plugin indent on

I think it’s worth spending some time in Vim with minimal settings so that you learn how to use Vi keys and commands.

For plugins, I regularly use:

  • ctrlp for finding files
  • relativenumber for fast line-based operations
  • dispatch.vim for running outside processes

I don’t use much else.

You can see common thoughtbot configuration in our dotfiles: dotfiles/vimrc at master · thoughtbot/dotfiles · GitHub

You can also see the list of plugins most of us use: dotfiles/vimrc.bundles at master · thoughtbot/dotfiles · GitHub

We had some discussion of Vim on the Weekly Iteration: Vim: To Config or Not to Config?

2 Likes