VSCodeVim / VSCodeVim/Vim

Autocomplete "commands" in "vim.*KeyBindings"

Open
#4,566 4 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.
I'm always frustrated when I am making a vim keybinding and have to figure out what the exact editor.action thing to put in the commands array.

Describe the solution you'd like
As I start typing the "commands": ["edi..."], I would like it to grab the list of all possible commands and autocomplete it for me

Describe alternatives you've considered
Pressing ⌘K+⌘S, right-clicking which one I want and selecting Copy Command ID, and paste it in the commands array.

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 with the VS Code vim.*KeyBindings setting and its commands array, then trace how command IDs are discovered for the ⌘K+⌘S and Copy Command ID workflow. Done means typing an editor.action prefix in that array offers the available commands as autocomplete.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience
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.