Skip to content

Instantly share code, notes, and snippets.

@bds
Created August 20, 2010 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bds/541015 to your computer and use it in GitHub Desktop.
Save bds/541015 to your computer and use it in GitHub Desktop.
Basic .vimrc file
set nocompatible " We are using Vim
syntax on
set colorcolumn=80
set ruler
hi StatusLine ctermfg=0 ctermbg=3 cterm=bold " Window highlighting
hi StatusLineNC ctermfg=0 ctermbg=238 cterm=none
hi Folded ctermfg=244 ctermbg=0 cterm=none " Code folding highlight
set softtabstop=2
set tabstop=2
set shiftwidth=2
set expandtab
set history=100
set showmatch
set foldmethod=indent
set foldnestmax=10
set nofoldenable
set foldlevel=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment