try to normalize my colorschemes more, vimrc.local can cover $TERM weirdness

Thu, 29 May 2014 18:52:52 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 29 May 2014 18:52:52 -0400
changeset 7
7e6e6ff35c4d
parent 6
3debd229ea65
child 8
ba72a71f23e6

try to normalize my colorschemes more, vimrc.local can cover $TERM weirdness

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -150,12 +150,6 @@ if has('persistent_undo')
   set undodir=$MYVIM/var/undo//,.
 end
 
-if has('gui_running')
-  set number
-  set background=dark
-  set columns=120 lines=40
-  colorscheme solarized
-end
 
 autocmd FileType text setlocal textwidth=78
 
@@ -233,3 +227,17 @@ try
 catch
 endtry
 
+if has('gui_running')
+  set nu
+  set bg=dark
+
+  set columns=120 lines=40
+
+  colorscheme solarized
+else
+  if &t_Co == 256
+    colorscheme jellybeans
+  end
+end
+
+

mercurial