dotfiles/home/apps/vscode/keybindings.json
2024-01-24 11:21:13 +01:00

57 lines
1.4 KiB
JSON

[
{
"key": "alt+x",
"command": "workbench.action.closeActiveEditor",
"when": "editorFocus"
},
{
"key": "alt+,",
"command": "workbench.action.previousEditor",
"when": "editorFocus"
},
{
"key": "alt+.",
"command": "workbench.action.nextEditor",
"when": "editorFocus"
},
{
"key": "alt+,",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "alt+.",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "shift+cmd+]",
"command": "-workbench.action.nextEditor",
"when": "editorFocus"
},
{
"key": "shift+cmd+[",
"command": "-workbench.action.previousEditor",
"when": "editorFocus"
},
{
"key": "ctrl+t",
"command": "workbench.action.terminal.focus",
"when": "editorTextFocus"
},
{
"key": "ctrl+t",
"command": "workbench.action.terminal.toggleTerminal",
"when": "terminalFocus"
},
{
"key": "ctrl+n",
"command": "workbench.files.action.focusFilesExplorer",
"when": "editorTextFocus"
},
{
"key": "ctrl+n",
"command": "workbench.action.toggleSidebarVisibility",
"when": "filesExplorerFocus"
}
]