Overview of the keyboard shortcut system
Windows Terminal provides a vast number of actions out of the box. These actions are represented by strings that are associated with a programming function in Windows Terminal. For example, the string "closeWindow"
is associated with a function that will close the terminal window, and the string "toggleFullscreen"
refers to a function that switches between windowed and fullscreen mode. These actions are represented by JSON objects, in the "actions"
section of our settings.json
.
Note
In version 1.3 and earlier of Windows Terminal, this field was named "keybindings"
. In later versions, it's been renamed to "actions"
to reflect that associating keyboard shortcuts with each item is not strictly necessary. Both names will continue to work in order to avoid breaking older settings.json
files.
For example, the "toggleFullscreen"
action is represented like this:
"actions...