My Vim Setup

A few weeks ago a blogged about how great Vim is. Since then I’ve had a few requests for my Vim setup so I thought I would put it here.

My setup is really simple – I used a setup we had on my project and extracted the parts I liked.

colorscheme vividchalk
set guifont=Consolas:h14

" Show all available options when navigating
set wildmode=list:longest

set tabstop=2
set shiftwidth=2
set expandtab
set softtabstop=2
set smartindent
set autoindent
set hlsearch
set incsearch
set showmatch
" Show line numbers
set number

" Set visual bell (basically no audio notifications)
set vb

" Open new windows on the bottom and right instead of the top and left
set splitbelow
set splitright

The only plugin I use is SuperTab – this allows me to use tab to autocomplete any word I’ve used already.

Happy coding.