laplace's demon

Adding Colors to VIM

by on Aug.29, 2010, under Uncategorized

I was not happy with default settings of the vim editor on snow leopard. Following are my settings. So far i don’t have a problem with them. Just put in a file named .vimrc on home folder.

set nocompatible
set selectmode=mouse
set backupdir=/tmp
set directory=/tmp
set guifont=Lucida_Console:h8
set guioptions-=T
set errorfile=/tmp/vim.errors.log
set ic
set fileformats=dos,unix,mac
highlight StatusLineNC guifg=#ff0000 guibg=#000000
highlight StatusLine guifg=#00ff00 guibg=#000000
set hls
hi Normal guibg=black guifg=white
hi Search guibg=white guifg=black
hi IncSearch guibg=white guifg=black
set mousef
set tabstop=2
syntax on

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...