Skip to content

Commit 9a0c5d3

Browse files
committed
Add OS when contexts
Related microsoft/vscode#8962
1 parent 787b8ea commit 9a0c5d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/getstarted/keybindings.md

+4
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,10 @@ editorHasMultipleSelections | Multiple regions of text are selected (multiple cu
231231
editorReadOnly | The editor is read only.
232232
editorLangId | True when the editor's associated [language Id](/docs/languages/identifiers.md) matches. Example: `"editorLangId == typescript"`.
233233
isInDiffEditor | The active editor is a difference editor.
234+
**Operating system contexts** |
235+
isLinux | True when the OS is Linux
236+
isMac | True when the OS is macOS
237+
isWindows | True when the OS is Windows
234238
**Mode contexts** |
235239
inDebugMode | A debug session is running.
236240
inSnippetMode | The editor is in snippet mode.

0 commit comments

Comments
 (0)