Created
December 10, 2014 13:48
-
-
Save pwaller/66d906976e059f41233e to your computer and use it in GitHub Desktop.
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 | |
| filetype off | |
| filetype plugin indent off | |
| set runtimepath+=~/.local/vim-golang | |
| filetype plugin indent on | |
| syntax on | |
| set smartindent | |
| set tabstop=4 | |
| set shiftwidth=4 | |
| set expandtab | |
| inoremap # # | |
| if exists('+colorcolumn') | |
| set colorcolumn=80 | |
| else | |
| au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1) | |
| endif | |
| syntax on | |
| filetype plugin indent on | |
| autocmd BufWritePre *.py :%s/\s\+$//e | |
| autocmd Filetype html,php setlocal ts=2 sts=2 sw=2 | |
| autocmd Filetype javascript setlocal ts=2 sts=2 sw=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment