Thursday, February 5, 2015

Change the cursor shape in overtype mode ?

Hi,

In my vimrc file I put the following code in order to change the cursor
shape:

if &term =~ "xterm"
" blinking vertical bar
let &t_SI .= "\<Esc>[5 q"
" blinking block
let &t_EI .= "\<Esc>[1 q"
endif

It works great but now I'd like to take it further and change also the
cursor shape (blinking underscore) whenever the overtype mode is used (r and
R keys). How could I achieve this ?

Thanks



--
View this message in context: http://vim.1045645.n5.nabble.com/Change-the-cursor-shape-in-overtype-mode-tp5723928.html
Sent from the Vim - General mailing list archive at Nabble.com.

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: