Suggestion for Multicursor Mode logic.
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
-
gwinstead ofgb, for matching next words.w makes it more intuitive
Bonus suggestions:
gbfor matching previous wordsnandShift+nfor skipping over words (as you do when using "/" in command mode) .gW,gBto deselect last match in corresponding direction.- adding count like
g2w,g2b,g2Wandg2B. - add repeatability using
;and,
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.
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