.vimrc

branch
mhoward-lt
changeset 123
52145be176c2
parent 122
dff13372e830
child 124
1be15444e144
--- a/.vimrc
+++ b/.vimrc
@@ -382,14 +382,25 @@ if has('gui_running')
 
   colorscheme solarized
 else
-  if &t_Co == 256
-    colorscheme jellybeans
-  end
+
+  if $TERM =~ 'screen'
+    if $TERM == 'screen-bce'
+      "if i'm not screen-bce, i'm not sure i have a good .screenrc in place
+      set t_Co=256
+    endif
+
+    set mouse=a
+  endif
 
   if $TERM =~ 'rxvt-unicode'
     set ttymouse=urxvt
     set mouse=a
   endif
+
+  if &t_Co == 256
+    colorscheme jellybeans
+  end
+
 end
 
 

mercurial