Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (21 sloc) 560 Bytes
call pathogen#infect()
syntax on
filetype plugin indent on
syntax enable
set background=dark
colorscheme solarized
set cursorline
nnoremap <Leader>c :set cursorcolumn!<CR>
set nowrap
set expandtab
set shiftwidth=2
set softtabstop=2
set autoindent
" Store temporary files in a central spot
set backupdir=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp
set directory=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp
set hlsearch
nnoremap <Leader>s :noh<CR>
" Clear trailing spaces
autocmd BufWritePre *.{rb,js,coffee,cc,cpp,c} :%s/\s\+$//e
nnoremap <Leader>e :NERDTree .<CR>