Created
October 17, 2014 08:30
-
-
Save vpj/ca954139e55aa58e3368 to your computer and use it in GitHub Desktop.
Programming setup
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 guioptions-=m "remove menu bar | |
set guioptions-=T "remove toolbar | |
set cursorcolumn | |
set ai nu bg=dark ts=1 sw=1 expandtab fdm=indent | |
set mouse=a | |
set hlsearch | |
colorscheme vividchalk | |
set cursorline | |
hi CursorLine term=bold cterm=bold guibg=Grey40 | |
"Highlight long lines | |
"autocmd ColorScheme * highlight LongLines ctermbg=darkred guibg=darkred | |
"highlight LongLines ctermbg=darkred guibg=darkred | |
"match LongLines '\%>80v.\+' | |
"set textwidth=80 | |
set colorcolumn=81 | |
"autocmd ColorScheme * highlight ExtraWhitespace ctermbg=darkred guibg=darkred | |
highlight ExtraWhitespace ctermbg=darkred guibg=lightgreen | |
match ExtraWhitespace /\s\+\%#\@<!$/ | |
match Error /\t/ | |
au FileType python set sw=4 ts=4 | |
au FileType c set cin | |
au FileType cpp set cin | |
autocmd BufWritePre * :%s/\s\+$//e | |
au BufRead,BufNewFile *.jsm setfiletype javascript | |
"au BufRead,BufNewFile *.less colorscheme torte | |
"colorscheme koehler | |
call pathogen#infect() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment