Cursor shape in tmux/terminal
This commit is contained in:
parent
8f02d25ab0
commit
4b14f3f50a
@ -165,6 +165,13 @@
|
||||
silent execute '!mkdir -p $HOME/.vimviews'
|
||||
au BufWinLeave \* silent! mkview "make vim save view (state) (fds, cursor, etc)
|
||||
au BufWinEnter \* silent! loadview "make vim load view (state) (fds, cursor, etc)
|
||||
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
|
||||
|
||||
" }}}
|
||||
" }}}
|
||||
|
Loading…
Reference in New Issue
Block a user