vim: check for .*vimrc-local files before loading
[shutils.git] / dotfiles / vim / .vimrc
index 10dd903ac3aaf3cb1c7d20fa2bab2386ddae0ee0..e65aba1f042acc8514c0aab09929fd5319d5fb77 100644 (file)
@@ -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 = '<c-x><c-u>'
 
 
-source ~/.vimrc-local
+
+if filereadable($HOME . "/.vimrc-local")
+       source ~/.vimrc-local
+endif