Monday, December 3, 2012

How to change the cursor shape in terminal vim

I'm using vim 7.3.646 under a linux terminal.
I can change the cursor in insert mode as a vertical bar and in normal
mode as as block, using:

if &term =~ 'xterm'
let &t_SI .= "\<Esc>[5 q"
let &t_EI .= "\<Esc>[0 q"
endif

But how can I change it in replace mode as an underscore?

Many thanks in advance,

--
Cesar

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment