Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Different cursor shape to indicate that a normal mode command is in the middle of being typed out

Open rben01 opened this issue 7 years ago • 2 comments

Is your feature request related to a problem? Please describe. In (actual) vim, when you press the first key of a multi-key normal mode command, such as d, the cursor changes from block to half-height-block. This is a useful visual indicator that a command has begun. When the command is complete, the cursor changes from half-block to full-block; this is a useful visual indicator that the command has been completed. Ideally VSCodeVim would allow the cursor to take on a different shape for the duration of a command.

Describe the solution you'd like Ideally VSCodeVim would allow the cursor to change shape when a normal mode command has begun, and change it back when the command has completed. I imagine only VSCode-supported cursor shapes would be possible, so no half-height cursor, but even having the cursor switch from block to block outline would still be an improvement.

Describe alternatives you've considered An indicator more prominent than the partially typed command in the command line.

Additional context Cursor is in the top left corner. In the second image it's half-height in response to me pressing d. image image

rben01 avatar Aug 29 '18 02:08 rben01

Using this (valuable!) plugin, I noticed how I'm used to vim's "cursor language".

Normal cursor: block (not blinking in my case)
Insert cursor: thin vertical bar
Replace cursor: thick underline
Entering command: no cursor in code text

These cursor changes foster quick work because they are an immediate feedback on the success of the state change. Else I find myself double-checking if an insert or whatever command is active.

juanlanus avatar Feb 26 '19 16:02 juanlanus

FWIW, vscode-neovim supports this. Sorry for the old revive, just thought it would be helpful to people who want this feature.

theol0403 avatar Aug 11 '22 22:08 theol0403