fix(vscode): keybinding full screen toggle shortcut (#625)
This commit is contained in:
parent
e05fabdeaa
commit
292150476c
3 changed files with 8 additions and 2 deletions
|
|
@ -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": [
|
||||
|
|
|
|||
|
|
@ -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[] = [
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue