Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Cursor issue in visual mode

Open bendobbins opened this issue 2 years ago • 8 comments

Describe the bug Extra block cursor is displayed in visual mode when vim.cursorStylePerMode.visual is set to anything.

To Reproduce Steps to reproduce the behavior:

  1. Set "vim.cursorStylePerMode.visual": "block-outline" for example
  2. I also have "editor.cursorStyle": "block" and "vim.cursorStylePerMode.normal": "block", but I have turned these off and the issue still occurs.
  3. Enter visual mode and move cursor.

Expected behavior Cursor should be block-outline.

Screenshots Screen Shot 2022-04-07 at 12 53 14 PM Screen Shot 2022-04-07 at 12 52 10 PM Screen Shot 2022-04-07 at 12 51 13 PM

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.22.2
  • VSCode version: 1.66.0
  • OS: macOS Monterey version 12.0.1

Additional context I realize this isn't a very pressing issue, it just bugs me. On a separate note, is there any way to have a solid cursor in normal mode and a blinking cursor in insert mode? When I set cursor blinking to blink it blinks in both and when I set it to solid it is solid in both.

bendobbins avatar Apr 07 '22 17:04 bendobbins

Yes, I have the same issue, Is this normal? image I select a word, the cursor is not locate the word last character, but locate the next character after it.

yifan0414 avatar Jan 12 '23 03:01 yifan0414

Same issue here I don't even need to set vim.cursorStylePerMode.visual it will happen regardless. Version 1.14.1 seems to be the newest version where this doesn't occur (somewhat). It still shows a second cursor close to the first one.

eskevv avatar Jun 07 '23 01:06 eskevv

Same here, the cursor is double width

qoobes avatar Dec 24 '23 12:12 qoobes

same issue.

Old-Farmer avatar Jan 21 '24 16:01 Old-Farmer

I'm having the same issue. I was hoping there'd be a solution by now 😔

Verushan avatar Feb 10 '24 20:02 Verushan

I'm having the issue. Still waiting for a fix. Thanks for your help!

justanindieguy avatar Apr 06 '24 17:04 justanindieguy

Setting > Vim> Cursor Style > line

dev1virtuoso avatar Aug 02 '24 10:08 dev1virtuoso