Skip to content

Commit

Permalink
Updated openSettings default bindings. (#317)
Browse files Browse the repository at this point in the history
* Updated openSettings default bindings.

* Updated the openSettings description.

* minor edits

Co-authored-by: Matt Wojciakowski <mattwoj@microsoft.com>
  • Loading branch information
Sophismata and mattwojo authored Apr 30, 2021
1 parent febcf10 commit 92577e8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions TerminalDocs/customize-settings/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,16 @@ This opens the dropdown menu.

### Open settings files

This opens either the default or custom settings files. Without the `target` field, this will open the settings.json file.
This opens either the settings UI, custom settings file (`settings.json`), or default settings file (`defaults.json`), depending on the `target` field.
Without the `target` field, the custom settings file will be opened.

**Command name:** `openSettings`

**Default bindings:**

```json
{ "command": "openSettings", "keys": "ctrl+," },
{ "command": { "action": "openSettings", "target": "settingsUI" }, "keys": "ctrl+," },
{ "command": { "action": "openSettings", "target": "settingsFile" }, "keys": "ctrl+shift+," },
{ "command": { "action": "openSettings", "target": "defaultsFile" }, "keys": "ctrl+alt+," },
```

Expand All @@ -215,9 +217,6 @@ This opens either the default or custom settings files. Without the `target` fie
| ---- | --------- | ------- | ----------- |
| `target` | Optional | `"settingsFile"`, `"defaultsFile"`, `"settingsUI"`, `"allFiles"` | The settings file to open. |

> [!IMPORTANT]
> The `"settingsUI"` value for `target` is only available in [Windows Terminal Preview](https://aka.ms/terminal-preview).
### Toggle full screen

This allows you to switch between full screen and default window sizes.
Expand Down

0 comments on commit 92577e8

Please sign in to comment.