VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
14.01k stars 1.32k forks source link

Hide "real" caret during visual mode #9007

Open musjj opened 7 months ago

musjj commented 7 months ago

Is your feature request related to a problem? Please describe. It looks like during normal mode, the plugin simulates a fake(?) caret, but the real caret stays visible:

image

With editor.cursorSmoothCaretAnimation set to on, this becomes really apparent and distracting:

Kooha-2024-04-26-23-09-36.webm

Describe the solution you'd like I believe that this could be solved by simply temporarily making the "real" caret invisible, by setting it to a transparent color. The color can then be reset afterwards.

Describe alternatives you've considered I tried to figure out a way to hack it from the user's end, but I couldn't figure it out.

J-Fields commented 5 months ago

I believe that this could be solved by simply temporarily making the "real" caret invisible, by setting it to a transparent color. The color can then be reset afterwards.

I don't think this is feasible. It would require modifying settings every time we enter/exit Visual mode - this is quite disruptive, as users of statusBarColors know.