Vim Cursor shape stays underscore. Not able to change it #80

Open
opened 2026-01-30 21:41:40 +00:00 by claunia · 0 comments
Owner

Originally created by @bitcrazed on GitHub (Feb 16, 2018).

Originally assigned to: @zadjii-msft on GitHub.

From @ponegan on January 9, 2018 6:40

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    Microsoft Windows [Version 10.0.16299.125]

  • What you're doing and what's happening / What's wrong / what should be happening instead:
    I'm using xterm-256color.
    I had been tried to change the shape of my vim cursor. I tried lots of different configuration for cursor shape (to be block) but none of them works as I put them in my .vimrc.

For example I tried some of these:
http://vim.wikia.com/wiki/Configuring_the_cursor

In the terminal I was able to change the shape of cursor to block by selecting 'large' in property as @zadjii-msft suggested in #1253. But the same trick won't work for vim. Well.... it will work at the moment I set it to 'large'. But it will reset back to underscore every time I open another file.

As this:
image

Anyone got a good approach on this cursor configuration?

Copied from original issue: Microsoft/WSL#2821

Originally created by @bitcrazed on GitHub (Feb 16, 2018). Originally assigned to: @zadjii-msft on GitHub. _From @ponegan on January 9, 2018 6:40_ * Your Windows build number: (Type `ver` at a Windows Command Prompt) Microsoft Windows [Version 10.0.16299.125] * What you're doing and what's happening / What's wrong / what should be happening instead: I'm using xterm-256color. I had been tried to change the shape of my vim cursor. I tried lots of different configuration for cursor shape (to be block) but none of them works as I put them in my .vimrc. For example I tried some of these: http://vim.wikia.com/wiki/Configuring_the_cursor In the terminal I was able to change the shape of cursor to block by selecting 'large' in property as @zadjii-msft suggested in #1253. But the same trick won't work for vim. Well.... it will work at the moment I set it to 'large'. But it will reset back to underscore every time I open another file. As this: ![image](https://user-images.githubusercontent.com/35251149/34707886-e4900eb6-f4c4-11e7-89a1-8441d7c86300.png) Anyone got a good approach on this cursor configuration? _Copied from original issue: Microsoft/WSL#2821_
claunia added the Issue-FeatureProduct-ConhostResolution-Fix-Available labels 2026-01-30 21:41:41 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#80