VSCodeVim / VSCodeVim/Vim

Feature: Shift+Mouse to use Visual Line Mode

Open
#1,734 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature upstream/vscode
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

I just had the idea, that i would be nice to use the shift modifier to select in Visual Line Mode.

First of all i can use the mouse to select text at the moment, which counts as a visual line mode selection. So after a selection i could e.g. press [d], to remove the selection.

Often i want to delete complete lines (or change them). At the moment i would do something like [V, 10j, d].

I think it would be cool to have a workflow like [Shift+Mouse, d], where Shift+Mouse automatically enters Visual Line Mode.

Environment:

  • VSCode Version: 1.12.2
  • VsCodeVim Version: 0.7.1
  • OS: Linux Mint

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing mouse-selection handling and the entry point for Visual Line Mode. Implement the requested Shift+Mouse behavior so the resulting selection supports existing commands such as d; done means selecting with Shift+Mouse enters Visual Line Mode and deletion or other line changes operate on the selected lines.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.