wincent / terminus

πŸ–₯ Enhanced terminal integration for Vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for cursor shape 2 (underline)

itaiferber opened this issue Β· comments

Currently, terminus returns the cursor shape on insertion end to cursor shape 0 (box)

let s:end_insert="\<Esc>]50;CursorShape=0\x7"

but it would be nice to have a setting that would allow it to set the cursor shape to shape 2 (underline, the default option)

let s:end_insert="\<Esc>]50;CursorShape=2\x7"

This is easy enough to change manually by editing terminus.vim, but it would be nice to have the option supported by default. πŸ˜„

Yeah, I agree that this should be an option.

underline, the default option

Are you sure underline is the default? The fact that the block shape is "0", and the first listed shape in the docs, makes me think it is the default.

Either way, I think you're right; we should whip something up.

This is now on the master branch, so closing. Thanks for the suggestion!

Sorry about that β€” should've been more careful. It's the cursor shape I've had for as long as I remember, and the one that appears first in the list in the UI, so I assumed incorrectly.

In any case, thanks for getting that in there so fast! Much appreciated. πŸ‘ πŸ˜ƒ