kajgan / fbterm

Automatically exported from code.google.com/p/fbterm
0 stars 0 forks source link

Cannot change cursor shape within vim #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Not sure if this is a vim or fbterm issue.  In fbterm and bash, the cursor can 
change using echo -e '\033[?2c' and echo -e '\033[7c'.  But within vim, even by 
using the t_SI and t_EI, the cursor appearance cannot change.  It would be an 
enhancement to able to do this, and even more if the color of the cursor could 
change. (For switching vim modes).

Original issue reported on code.google.com by indy2...@gmail.com on 12 Sep 2010 at 3:29

GoogleCodeExporter commented 9 years ago
Hi, any comments on this?  It would make vim modes easier to notice.
Thanks.

Original comment by indy2...@gmail.com on 5 Oct 2010 at 11:29

GoogleCodeExporter commented 9 years ago
It's a issue of vim.  vim sends t_SI when it enters insert mode, but it's NOT 
the last, after t_SI vim also sends '\033[0c', which changes the cursor to 
default shape you specified in ~/.fbtermrc.

Original comment by zgchan...@gmail.com on 6 Oct 2010 at 4:52