Reputation: 31729
this piece of .vimrc is for changing cursor shape. It works showing the underscore cursor in xterm, but in terminator not...Any idea? I tried it changing xterm by terminator but it doesn't work..
if &term =~ '^xterm'
" solid underscore
let &t_SI .= "\<Esc>[4 q"
" solid block
let &t_EI .= "\<Esc>[2 q"
" 1 or 0 -> blinking block
" 3 -> blinking underscore
endif
Javi
Upvotes: 3
Views: 1812
Reputation: 8532
CSI 4 SP q
is a specific sequence recognised by xterm to change the cursor shape. If it doesn't work for your terminal, it likely that your terminal simply doesn't recognise it.
Upvotes: 1