-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cursor width when indent using tabs #3856
Comments
Disabling the extension and setting |
Oh, really? I have used VSCode with the Vim extension since the beginning so I didn't know that this behavior was from VSCode itself. I can see why one would find it as useful, but once again, in other editors, this is not the case. I personally I find it not appealing at all nor useful in my case. In any case, I'm closing this issue since it is not from the Vim extension. Thanks! |
I just moved to vsCode and find the existing behaviour quite irritating. I cannot find any configuration to keep the cursor block width constant. How is this supposed to be? |
@xh3b4sd This is just how VSCode renders a block cursor on a wide character. Honestly don't really desire why it wouldn't be desirable, but you can file an issue in the VSCode repo or switch to using a different cursor style (line for instance). |
Describe the bug
Basically, when the file is using indentation by tabs, the cursor width in normal mode changes according to the tab size (e.g. 2 or 4 spaces). I know it is not a big issue but somehow I find it a bit annoying. Here is an example of how it looks:
In the picture, there are two cursors, one with width equal to 2 spaces due to the tab indentation, and one with 1 space width (the one in between
if
andlen
).If I was using tab indentation with 4 spaces, then the difference between the two cursors would be more dramatic as you can imagine.
Expected behavior
So basically, the cursor width should always be the same (one space width), regardless whether it is on a tab indentation or not. This is the case in other editors vim extensions (e.g. ideavim or neovintageous).
Thanks in advance!
The text was updated successfully, but these errors were encountered: