fix(vscode): keybinding full screen toggle shortcut (#625)

This commit is contained in:
LangLangBart 2023-11-15 19:00:47 +01:00 • committed by GitHub
parent e05fabdeaa
commit 292150476c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -170,7 +170,8 @@
{
"command": "continue.toggleFullScreen",
"mac": "cmd+k cmd+m",
"key": "ctrl+k ctrl+m"
"key": "ctrl+k ctrl+m",
"when": "!terminalFocus"
}
],
"submenus": [

View file

@ -110,6 +110,11 @@ const vscodeShortcuts: KeyboardShortcutProps[] = [
windows: "Tab",
description: "Toggle between context items",
},
{
mac: "⌘ K ⌘ M",
windows: "⌃ K ⌃ M",
description: "Toggle Full Screen",
},
];
const jetbrainsShortcuts: KeyboardShortcutProps[] = [

View file

@ -586,7 +586,7 @@ function GUI(props: GUIProps) {
onClick={() => {
postToIde("toggleFullScreen", {});
}}
text={`Toggle Full Screen (${getMetaKeyLabel()}K M)`}
text={`Toggle Full Screen (${getMetaKeyLabel()}K ${getMetaKeyLabel()}M)`}
>
{(window as any).isFullScreen ? (
<ArrowsPointingInIcon width="1.4em" height="1.4em" />