How can I have different cursor shapes when running vim inside tmux under cygwin?
WITHOUT tmux these lines would be enough to achieve what I want:
let &t_SI = "\e[5 q" let &t_EI = "\e[2 q"
But somehow my tmux breaks it - cursor has block shape no matter what vim mode I'm in.
- Windows 7 x64
- Cygwin x86
- TMUX 1.9a
- Vim 7.4.726 (compiled with +cursorshape)
- terminal emulator: mintty 1.1.3
- used in Cygwin Terminal or Cmder (either way, cursor shapes work only without TMUX)
echo $TERMgives me
screen-256color(in TMUX and outside of it, because i have
export TERM=screen-256colorin my
set -g default-terminal "screen-256color" setw -g xterm-keys on
What i tried already without success:
- "rightclick on bar > Options > Looks > Cursor" (it changes the cursor permanently, vim modes still don't change it)