aboutsummaryrefslogtreecommitdiff
path: root/stow/vim/.vim/rc/tmux.vim
blob: 25e700dbb08681bcd8a28cd0700dcd7bb6d72a1a (plain)
1
2
3
4
5
6
7
8
" For cursor shape with tmux
if exists('$TMUX')
    let &t_SI = "\<Esc>Ptmux;\<Esc>\e[5 q\<Esc>\\"
    let &t_EI = "\<Esc>Ptmux;\<Esc>\e[2 q\<Esc>\\"
else
    let &t_SI = "\e[5 q"
    let &t_EI = "\e[2 q"
endif