VSCodeVim / Vim

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

Breaks vscode native line selection via mouse click #9283

Open leoauri opened 2 months ago

leoauri commented 2 months ago

Describe the bug vscode natively allows one to select a line by clicking to its left, on the line number. But with vim extension, if in insert mode with the insert point anywhere but column 1, clicking on a line number causes all but the first character to be selected, breaking the functionality.

To Reproduce Steps to reproduce the behavior:

  1. Activate vim extension
  2. Open a document
  3. Enter insert mode with cursor not in column 1
  4. Click on a line number other than the line with the cursor in it
  5. Result: line except for first character is selected

Expected behavior Complete line including first character is selected.

Screenshots

https://github.com/user-attachments/assets/06f948a8-5f05-4005-b8d0-ca4f5479fc2c

Environment (please complete the following information):