Created
August 7, 2013 00:25
-
-
Save phcostabh/6170167 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
| " ---------------------------------------------------------------------------------------------------" | |
| " UI Configuration | |
| " ---------------------------------------------------------------------------------------------------" | |
| colorscheme jellybeans | |
| set guifont=Liberation\ Mono\ 09 | |
| set linespace=6 | |
| set nospell | |
| set t_Co=256 | |
| set bg=dark | |
| nnoremap ; : | |
| " ---------------------------------------------------------------------------------------------------" | |
| " vim-php-cs-fixer configuration | |
| " ---------------------------------------------------------------------------------------------------" | |
| autocmd FileType php noremap <buffer> <c-f> :call PhpCsFixerFixFile()<cr> | |
| " ---------------------------------------------------------------------------------------------------" | |
| " vim-jsbeautify | |
| " ---------------------------------------------------------------------------------------------------" | |
| autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<cr> | |
| autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<cr> | |
| autocmd FileType html noremap <buffer> <c-f> :call HtmlBeautify()<cr> | |
| autocmd FileType css noremap <buffer> <c-f> :call CSSBeautify()<cr> | |
| " ---------------------------------------------------------------------------------------------------" | |
| " Gist vim configurations | |
| " ---------------------------------------------------------------------------------------------------" | |
| let g:gist_clip_command = 'xclip -selection clipboard' | |
| " ---------------------------------------------------------------------------------------------------" | |
| " Customisations based on house-style (arbitrary) | |
| " ---------------------------------------------------------------------------------------------------" | |
| autocmd FileType html setlocal ts=2 sts=2 sw=2 expandtab | |
| autocmd FileType ruby setlocal ts=2 sts=2 sw=2 expandtab | |
| " ---------------------------------------------------------------------------------------------------" | |
| " Key mappings | |
| " ---------------------------------------------------------------------------------------------------" | |
| map <Leader>r :!js-beautify -r %<CR> | |
| nmap <F8> :TagbarToggle<CR> | |
| " ---------------------------------------------------------------------------------------------------" | |
| " Avoid backup | |
| " ---------------------------------------------------------------------------------------------------" | |
| set nobackup | |
| set noswapfile | |
| " ---------------------------------------------------------------------------------------------------" | |
| " Remove bundles | |
| " ---------------------------------------------------------------------------------------------------" | |
| UnBundle 'derekwyatt/vim-scala' | |
| UnBundle 'derekwyatt/vim-sbt' | |
| UnBundle 'jnwhiteh/vim-golang' | |
| UnBundle 'spf13/vim-gocode' | |
| UnBundle 'tpope/vim-haml' | |
| UnBundle 'tpope/vim-cucumber' | |
| UnBundle 'altercation/vim-colors-solarized' | |
| UnBundle 'nathanaelkane/vim-indent-guides' | |
| UnBundle 'klen/python-mode' | |
| UnBundle 'python.vim' | |
| UnBundle 'python_match.vim' | |
| UnBundle 'pythoncomplete' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment