X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=dotfiles%2Fvim%2F.vimrc;h=e65aba1f042acc8514c0aab09929fd5319d5fb77;hb=c7e790b9b976ff4be6226a4baaaffe19c01e7aaa;hp=10dd903ac3aaf3cb1c7d20fa2bab2386ddae0ee0;hpb=235c6ab8153839dcfd848ad4683eb27be4b50ef7;p=shutils.git diff --git a/dotfiles/vim/.vimrc b/dotfiles/vim/.vimrc index 10dd903..e65aba1 100644 --- a/dotfiles/vim/.vimrc +++ b/dotfiles/vim/.vimrc @@ -67,6 +67,15 @@ au Filetype python,tex,c,cpp,cs,objc,java :DetectIndent "let g:detectindent_preferred_indent = 4 + +" Use 256 colors +set t_Co=256 +let g:CSApprox_attr_map = { 'bold' : 'bold', 'italic' : '', 'sp' : '' } +colorscheme shuber-wombat + +set cursorline + + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " fortran """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" @@ -169,6 +178,10 @@ if version>=700 au Filetype mail,text set fo+=n spell endif +"Scissor line +au Filetype mail syn match Statement /^\s*-*\s*>8\s*-*\s*$/ +au Filetype mail syn match Statement /^\s*-*\s*8<\s*-*\s*$/ + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" @@ -306,6 +319,9 @@ let g:SuperTabDefaultCompletionType = 'context' "let g:SuperTabDefaultCompletionType = '' -source ~/.vimrc-local + +if filereadable($HOME . "/.vimrc-local") + source ~/.vimrc-local +endif