Skip to content

Commit

Permalink
doc: Disambiguate "Keybindings" reference; add example keys (#3681)
Browse files Browse the repository at this point in the history
Add more examples to terminal settings keybindings documentation.

Co-Authored-By: Mike Griese <[email protected]>
  • Loading branch information
2 people authored and DHowett committed Dec 4, 2019
1 parent 04432ee commit d65212b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions doc/cascadia/SettingsSchema.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ Properties listed below are specific to each custom key binding.
| `command` | _Required_ | String | The command executed when the associated key bindings are pressed. |
| `keys` | _Required_ | Array[String] | Defines the key combinations used to call the command. |

### Implemented Keybindings
### Implemented Commands

Bindings listed below are per the implementation in `src/cascadia/TerminalApp/AppKeyBindingsSerialization.cpp`
Commands listed below are per the implementation in [`src/cascadia/TerminalApp/AppKeyBindingsSerialization.cpp`](https://github.com/microsoft/terminal/blob/master/src/cascadia/TerminalApp/AppKeyBindingsSerialization.cpp)

- copy
- copyTextWithoutNewlines
Expand Down Expand Up @@ -138,6 +138,15 @@ Bindings listed below are per the implementation in `src/cascadia/TerminalApp/Ap
- moveFocusDown
- toggleFullscreen

## Example Keys
- ctrl+1
- ctrl+plus
- alt+-
- shift+numpad_1
- ctrL+shift+numpad_plus
- ctrl+pgdn
- ctrl+alt+shift+pgup

## Background Images and Icons
Some Terminal settings allow you to specify custom background images and icons. It is recommended that custom images and icons are stored in system-provided folders and are referred to using the correct [URI Schemes](https://docs.microsoft.com/en-us/windows/uwp/app-resources/uri-schemes). URI Schemes provide a way to reference files independent of their physical paths (which may change in the future).

Expand Down

0 comments on commit d65212b

Please sign in to comment.