You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:
Anyone got a good approach on this cursor configuration?
The text was updated successfully, but these errors were encountered:
I don't think this is possible right now - the console needs to understand a cursor escape, like ^[[n q with n from 0-6, which it doesn't. The only way I know to change it right now is with console APIs that are not available within WSL. Hopefully this functionality will get implemented soon.
Edit - there may be a hacky way to do this right now. You can write a small Windows C program that calls SetConsoleCursorInfo, and set up vim's cursor sizing commands to run that program. I think that would work, but no guarantees.
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:
Anyone got a good approach on this cursor configuration?
The text was updated successfully, but these errors were encountered: