Keybinding commands #5584

Closed
opened 2026-01-31 00:16:42 +00:00 by claunia · 2 comments
Owner

Originally created by @TeoTN on GitHub (Dec 15, 2019).

I'm not able to find information about all commands that can be bound to keys. Documentation only gives an example for a few of them:

{
    "keybindings":
    [
        { "command": "closePane", "keys": ["ctrl+shift+w"] },
        { "command": "copy", "keys": ["ctrl+shift+c"] },
        { "command": "newTab", "keys": ["ctrl+shift+t"] },
        // etc.
    ]
}

I wasn't able to find more options neither in Google nor in the repository

Originally created by @TeoTN on GitHub (Dec 15, 2019). I'm not able to find information about all commands that can be bound to keys. Documentation only gives an example for a few of them: ``` { "keybindings": [ { "command": "closePane", "keys": ["ctrl+shift+w"] }, { "command": "copy", "keys": ["ctrl+shift+c"] }, { "command": "newTab", "keys": ["ctrl+shift+t"] }, // etc. ] } ``` I wasn't able to find more options neither in Google nor in the repository
Author
Owner

@j4james commented on GitHub (Dec 15, 2019):

The documentation you're looking for is here:
https://github.com/microsoft/terminal/blob/master/doc/cascadia/SettingsSchema.md#implemented-commands

@j4james commented on GitHub (Dec 15, 2019): The documentation you're looking for is here: https://github.com/microsoft/terminal/blob/master/doc/cascadia/SettingsSchema.md#implemented-commands
Author
Owner

@zadjii-msft commented on GitHub (Dec 16, 2019):

Taken from my reply in #3970

The docs definitely do mention what names to use though - see SettingsSchema.md for both a list of possible actions and possible keys to use.

Here it is in the code too.

@zadjii-msft commented on GitHub (Dec 16, 2019): Taken from my reply in #3970 > > The docs _definitely_ do mention what names to use though - see [SettingsSchema.md](https://github.com/microsoft/terminal/blob/master/doc/cascadia/SettingsSchema.md#keybindings) [](/microsoft/terminal/blob/HEAD@{2019-12-16T13:49:07Z}/doc/cascadia/SettingsSchema.md#keybindings) for both a list of possible actions and [possible keys](https://github.com/microsoft/terminal/blob/master/doc/cascadia/SettingsSchema.md#example-keys) [](/microsoft/terminal/blob/HEAD@{2019-12-16T13:49:07Z}/doc/cascadia/SettingsSchema.md#example-keys) to use. [Here](https://github.com/microsoft/terminal/blob/master/src/cascadia/TerminalApp/AppKeyBindingsSerialization.cpp#L27-L80) it is in the code too.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5584