VSCodeVim / VSCodeVim/Vim

Suggestion for Multicursor Mode logic.

Open
#10,084 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Is your feature request related to a problem? Please describe.
Existing Feature: gb, a new shortcut added which is equivalent to cmd-d (OSX) or ctrl-d (Windows). It adds another cursor at the next word that matches the word the cursor is currently on.

Problem: gb -> b is counter-intuitive, b in vim means jumping backwards one word at a time.

Describe the solution you'd like

  • gw instead of gb, for matching next words.

    w makes it more intuitive

Bonus suggestions:

  • gb for matching previous words
  • n and Shift+n for skipping over words (as you do when using "/" in command mode) .
  • gW , gB to deselect last match in corresponding direction.
  • adding count like g2w , g2b , g2W and g2B.
  • add repeatability using ; and ,

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 locating the existing gb multicursor command and its keybinding tests. Compare the requested gw, backward-selection, skipping, deselection, count, and repeatability behaviors with current command-mode conventions. Done would require an agreed subset and tests covering the selected mappings.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.