On Sat, Nov 24, 2012 at 01:17:13PM -0500, Benjamin R. Haskell wrote: > 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?
Yes. As noted at the top of the ":help t_SI" paragraph: Added by Vim (there are no standard codes for these): > If it's not > accurate, does someone have a link to a termcap or terminfo > reference that includes those two? http://invisible-island.net/xterm/ctlseqs/ctlseqs.html has information on the sequences necessary to control this behavior with xterm. For example, " Switch to underline on insert let &t_SI="\<Esc>[4 q" " Back to block when leaving let &t_EI="\<Esc>[2 q" > E.g. in Konsole (needs to be in .vimrc, since updates don't seem to > take effect): Setting it interactively works for me when running in xterm. I'm not sure why it wouldn't work, since Vim sends this every time it enters/leaves insert mode. Cheers, -- James GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>
signature.asc
Description: Digital signature
