Hi All,
In VIM, my normal mode cursor is a block, like most of you I presume. If I
switch panes or windows while in normal mode, the cursor style (block)
comes along for the ride. Sure, I could issue a simple escape sequence
(echo -ne "\e[5 q") to reset it to the vertical line, but wouldn't it be
awesome if tmux handles this?
It turns out that in 2011 some gentleman made a patch to keep track of the
cursor color/styles per pane/window but I don't think it was merged.
Anyway, here is the thread for more info:
http://sourceforge.net/mailarchive/forum.php?thread_name=BAY156-w42377C17048D1DADD1882CAECC0%40phx.gbl&forum_name=tmux-users
For the time being, is there a workaround? Should this get addressed?
My setup:
* Terminal: Mintty (CYGWIN)
* SSH -> Ubuntu 13.04
* Tmux 1.8
Thanks,
Saad
For other Cygwin TTY users SSHing into a TMUX Box, these are the VIM escape
sequences to use:
" tmux escape the mintty mode-dependent cursor escapes; the weird 1049H and
1049L sequences save/restore the alternate screen on VIM start/exit--I
think.
let &t_ti="\ePtmux;\e\e[1 q\e\\\e[?1049h"
let &t_te="\ePtmux;\e\e[0 q\e\\\e[?1049l"
let &t_SI="\ePtmux;\e\e[5 q\e\\"
let &t_EI="\ePtmux;\e\e[1 q\e\\"
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users