Skip to content

Instantly share code, notes, and snippets.

@mcspring
Created August 28, 2012 01:15
Show Gist options
  • Save mcspring/3494063 to your computer and use it in GitHub Desktop.
Save mcspring/3494063 to your computer and use it in GitHub Desktop.
vim configuration
call pathogen#infect()
syntax on
filetype plugin indent on
set background=light
set t_Co=256
colorscheme solarized
set nocompatible
set number
set incsearch
set autoindent
set smartindent
set tabstop=2
set shiftwidth=2
set smarttab
set expandtab
set softtabstop=2
set showmatch
set ruler
set statusline=%<%F\ %h%m%r%=%-14.(%l,%c%V%)\ %P
nnoremap <silent> <F9> :NERDTreeToggle<CR>
autocmd BufWritePre * :%s/\s\+$//e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment