Left-clicking the end of a line in Normal mode switches to Visual mode
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript, vscode
- Domain
- devtools
Research direction
Start by reproducing the issue in VSCode with VSCodeVim 1.32.4, following the listed Normal-mode clicks and checking the behavior on Linux Mint or Windows 11. Trace the extension's handling of left-clicks at line ends and verify that repeated clicks only move the cursor without entering Visual mode.
Written by the indexing model from the issue text.
Description
Describe the bug
When left-clicking the end of a line in Normal mode, the editor sometimes switches to Visual mode unexpectedly.
To Reproduce
- Open any file and confirm you are in Normal mode.
- Left-click the end of a line.
- Move to another line and left-click the end of that line as well.
- Visual mode is activated unexpectedly.
Expected behavior
A left-click in Normal mode should only move the cursor.
This action should not cause the editor to enter Visual mode.
Environment (please complete the following information):
- Extension (VsCodeVim) version:1.32.4
- VSCode version:1.107.1
- OS:Linux Mint 22.2 Cinnamon
- (Same behavior also confirmed on Windows 11)
Additional context
A reproduction video is attached below.
https://github.com/user-attachments/assets/b2f143a2-4b6f-4921-b873-8c43b6cf38ad
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from VSCodeVim/Vim
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·