As far as I can tell, the t_SI and t_EI sequences¹ don't have non-Vim equivalents in either termcap or terminfo. Is that accurate? Were they just "made up" out of necessity? If it's not accurate, does someone have a link to a termcap or terminfo reference that includes those two?

¹: SI = Start Insert mode, EI = Exit Insert mode. In Vim they're used (usually?) to set the cursor shape from block to bar and back.

E.g. in Konsole (needs to be in .vimrc, since updates don't seem to take effect):

" set cursor shape to vertical bar when entering insert mode
let &t_SI="\<Esc>]50;CursorShape=1\x7"
" set cursor shape to block when leaving insert mode
let &t_EI="\<Esc>]50;CursorShape=0\x7"

--
Best,
Ben

--
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui