if $TERM_PROGRAM ==? 'iTerm.app' " different cursors for insert vs normal mode if exists('$TMUX') let &t_SI = "\Ptmux;\\]50;CursorShape=1\x7\\\" let &t_EI = "\Ptmux;\\]50;CursorShape=0\x7\\\" else let &t_SI = "\]50;CursorShape=1\x7" let &t_EI = "\]50;CursorShape=0\x7" endif endif " Windows-specific setting allowing for 256-colors etc if($ConEmuANSI ==? 'ON') set term=xterm set t_Co=256 let &t_AB='\e[48;5;%dm' " background color let &t_AF='\e[38;5;%dm' " foreground color inoremap [62~ inoremap [63~ nnoremap [62~ nnoremap [63~ endif if(exists('$WT_SESSION')) set t_Co=256 inoremap [62~ inoremap [63~ nnoremap [62~ nnoremap [63~ endif