Skip to content

Commands

There are two categories of commands available in Master Key: the user commands and the keybinding commands.

User Commands

User commands take no arguments and generally interact with the user-interface of VSCode.

  • Master Key: Toggle Visual Doc Modifier by frequency (master-key.toggleVisualDocModifiers) — Cycle through the possible keybinding modifiers based on how frequently they are used in the current set of keybindings.

  • Master Key: Toggle palette input mode (master-key.togglePaletteMode) — Toggle between accepting command keybindings and searching for commands in the Key Suggestions... palette.

  • Master Key: Key Suggestions... (master-key.commandSuggestions) — Display a list of possible key presses that follow after the current prefix of keys that have been pressed so far.

  • Master Key: Activate Keybindings (master-key.activateBindings) — Insert your master key bindings into VSCode, making them active

  • Master Key: Deactivate Keybindings (master-key.deactivateBindings) — Remove your master key bindings from VSCode

  • Master Key: Activate User Keybindings (master-key.activateUserBindings) — Select a set of user specified bindings, to append to your master key bindings

  • Master Key: Deactivate User Keybindings (master-key.removeUserBindings) — Remove user specified bindings from your master key bindings

  • Master Key: New Keybinding Copy (master-key.editPreset) — Edit a new copy of a given master keybinding preset.

  • Master Key: Import User Bindings (master-key.importUserBindings) — Import user bindings from VSCode's global keybindings file (keybindings.json)

  • Master Key: Import Default Bindings (master-key.importDefaultBindings) — Import default bindings from VSCode's default keybindings file

  • Master Key: Install Extensions Required by Keybindings (master-key.installRequiredExtensions) — Install extensions required by your keybindings, as defined in the requiredExtensions field.

  • Master Key: Show Visual Documentation (master-key.showVisualDoc) — Documents keybindings on a keyboard layout shown in the bottom panel of your editor.

  • Master Key: Show Text Documentation (master-key.showTextDoc) — Show documentation for the current master keybindings in a rendered markdown file.

Keybinding Commands

Keybinding commands usually have at least one argument and are expected to primarily be used when defining keybindings in a master keybinding TOML file.

State Management

Inputting Strings

Searching for Strings

Performing Actions

Set Mode

Recording and Replaying Commands