Vim: Autocomplete "commands" in "vim.*KeyBindings"

Created on 19 Feb 2020  路  4Comments  路  Source: VSCodeVim/Vim

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 鈱楰+鈱楽, right-clicking which one I want and selecting Copy Command ID, and paste it in the commands array.

All 4 comments

We can't do this dynamically. I suppose we could keep a list of commands that VSCode itself has (no extensions) and autocomplete using that? No such comprehensive list exists as far as I'm aware, though

Interesting that there isn't a dynamic list of all possible VSCode commands. But certainly to save a list of the most common ones would be useful

If I go to my keybindings.json and start typing in a command I can see a list of options
image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

elithrar picture elithrar  路  3Comments

triztian picture triztian  路  3Comments

ACollectionOfAtoms picture ACollectionOfAtoms  路  3Comments

stefanoio picture stefanoio  路  3Comments

liamdawson picture liamdawson  路  3Comments