Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix colors under tmux.

  • Loading branch information...
commit e69179df32a26d7ea5a85e0cc442524949b95e48 1 parent 86282c3
@thegreatape authored
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")
Please sign in to comment.
Something went wrong with that request. Please try again.