Skip to content

Instantly share code, notes, and snippets.

@zodman
Created November 24, 2010 17:23
Show Gist options
  • Save zodman/714030 to your computer and use it in GitHub Desktop.
Save zodman/714030 to your computer and use it in GitHub Desktop.
.vimrc
set nu
set ts=4
set sw=4
set sts=4
nnoremap <silent> ,q :bp<CR>
nnoremap <silent> ,w :bn<CR>
nnoremap <silent> ,d :bd<CR>
nnoremap <silent> ,s :wall!<CR>
filetype indent plugin on
syntax on
autocmd FileType python set omnifunc=pysmell#Complete
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
set pastetoggle=<f5>
nnoremap <F8> :setl noai nocin nosi inde=<CR>
let g:NERDTreeIgnore=['\.swp$','\.pyc$','\.pyo$']
noremap <F4> :match ErrorMsg '\%>80v.\+'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment