Permalink
Browse files

Fix colors under tmux.

  • Loading branch information...
thegreatape committed Oct 22, 2012
1 parent 86282c3 commit e69179df32a26d7ea5a85e0cc442524949b95e48
Showing with 4 additions and 0 deletions.
  1. +4 −0 vimrc
View
4 vimrc
@@ -131,6 +131,10 @@ let &t_EI .= "\e[2 q"
inoremap <special> <Esc> <Esc>hl
set guicursor+=i:blinkwait0
+" Enable 256 colors to stop the CSApprox warning and make xterm vim shine
+if &term == 'xterm' || &term == 'screen'
+ set t_Co=256
+endif
" Only do this part when compiled with support for autocommands.
if has("autocmd")

0 comments on commit e69179d

Please sign in to comment.