Created
November 24, 2010 17:23
-
-
Save zodman/714030 to your computer and use it in GitHub Desktop.
.vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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