Skip to content

Instantly share code, notes, and snippets.

@keewon
Created November 25, 2013 07:20
Show Gist options
  • Save keewon/7637512 to your computer and use it in GitHub Desktop.
Save keewon/7637512 to your computer and use it in GitHub Desktop.
My vim settings
call pathogen#infect()
syntax on
set nocompatible
set bg=light
set ts=8 sts=4 sw=4 expandtab
set showmatch matchtime=2
set ic nobackup incsearch
"set guifont=Lucida_Console:h14:cANSI
set guifont=Monaco:h13
set grepprg=grep\ -nH\ --exclude=tags\ $*
set tags=tags,../tags,../../tags,../../../tags
map <C-p> :tabp<CR>
map <C-n> :tabn<CR>
map <C-x> :tabe .<CR>
map # :Search <C-R><C-W><CR>
map <S-F8> :SearchReset<CR>
let g:MultipleSearchMaxColors=8
let g:DirDiffExcludes = "CVS,*.class,*.o,.git/*"
let g:fuf_file_exclude = '\v\~$|\.(o|exe|dll|bak|orig|swp)$|(^|[/\\])\.(hg|git|bzr|svn)($|[/\\])'
"map <C-c> :FindFileCache .<CR>
"map <C-e> :FF<CR>
map <C-d> :NERDTreeFind<CR>
map <C-e> :FufFile **/<CR>
au FileType python setl sw=4 sts=4 ts=8 et
au FileType erlang setl sw=4 sts=4 ts=4 et
au FileType java setl sw=4 sts=4 ts=4
au FileType javascript setl sw=2 sts=2 ts=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment