VSCodeVim / VSCodeVim/Vim

support some commands that allow immediate letter-based options

Open
#3,080 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/commandline kind/enhancement
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.
things like :sg are not supported

Describe the solution you'd like
Command parsing (lexing really) to be more aware that the command may be only the first letter of what's currently considered the command.

Describe alternatives you've considered
:s g will work (after the :s PR is merged, of course ;) )...

Personally, since this also works in vim, I'm totally okay with changing my habits to add the spacebar instead if this request is rejected. But I figured I'd report this for completeness so maintainers can decide ;).

Additional context
Again, if you friends think this doesn't warrant the added complexity, it's totally understandable to me ;).

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 command parsing or lexing path for the :sg command and compare it with the existing :s g form. Done means commands that use immediate letter-based options, such as :sg, are recognized while preserving existing command behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.