Skip to content

Instantly share code, notes, and snippets.

@janderudder
Created October 30, 2022 13:31
Show Gist options
  • Save janderudder/161a3aa7de5344a1f907330259cc4f64 to your computer and use it in GitHub Desktop.
Save janderudder/161a3aa7de5344a1f907330259cc4f64 to your computer and use it in GitHub Desktop.
VS Code custom keybindings
[
{
"key": "ctrl+shift+alt+p",
"command": "workbench.action.tasks.runTask",
"args": "run premake"
},
{
"key": "ctrl+shift+alt+b",
"command": "workbench.action.tasks.runTask",
"args": "build"
},
{
"key": "ctrl+shift+alt+q",
"command": "workbench.action.tasks.runTask",
"args": "run qmake"
},
{
"key": "ctrl+shift+alt+c",
"command": "workbench.action.tasks.runTask",
"args": "run `make clean`"
},
{
"key": "ctrl+shift+alt+l",
"command": "workbench.action.tasks.runTask",
"args": "run app"
},
{
"key": "ctrl+shift+alt+d",
"command": "workbench.action.tasks.runTask",
"args": "run debug"
},
{
"key": "ctrl+shift+alt+r",
"command": "workbench.action.tasks.runTask",
"args": "run release"
},
{
"key": "ctrl+alt+f",
"command": "workbench.action.tasks.runTask",
"args": "run-with-c++filt"
},
{
"key": "ctrl+f",
"command": "workbench.action.terminal.focusFindWidget",
"when": "terminalFocus || terminalWidgetFocused"
},
{
"key": "escape",
"command": "workbench.action.terminal.hideFindWidget",
"when": "terminalFindWidgetVisible && terminalFocus"
},
{
"key": "escape",
"command": "workbench.action.terminal.hideFindWidget",
"when": "terminalFindWidgetVisible && terminalFocus"
},
{
"key": "ctrl+k oem_3",
"command": "workbench.action.quickOpenTerm"
},
{
"key": "ctrl+alt+r",
"command": "workbench.action.terminal.rename",
"when": "terminalFocus"
},
{
"key": "ctrl+k ctrl+oem_3",
"command": "workbench.action.terminal.kill"
},
{
"key": "ctrl+k ctrl+pageup",
"command": "workbench.action.terminal.resizePaneUp"
},
{
"key": "ctrl+k ctrl+pagedown",
"command": "workbench.action.terminal.resizePaneDown"
},
{
"key": "ctrl+k l",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus"
},
{
"key": "ctrl+oem_7 ctrl+o",
"command": "workbench.action.terminal.newLocal"
},
{
"key": "ctrl+6",
"command": "workbench.action.zoomOut",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+l",
"command": "workbench.action.moveEditorToNextGroup"
},
{
"key": "ctrl+alt+right",
"command": "-workbench.action.moveEditorToNextGroup"
},
{
"key": "ctrl+alt+h",
"command": "workbench.action.moveEditorToPreviousGroup"
},
{
"key": "ctrl+alt+left",
"command": "-workbench.action.moveEditorToPreviousGroup"
},
{
"key": "ctrl+alt+right",
"command": "cursorWordPartRight"
},
{
"key": "ctrl+shift+alt+right",
"command": "cursorWordPartRightSelect"
},
{
"key": "ctrl+alt+left",
"command": "cursorWordPartStartLeft"
},
{
"key": "ctrl+shift+alt+left",
"command": "cursorWordPartStartLeftSelect"
},
{
"key": "ctrl+shift+backspace",
"command": "deleteWordPartLeft"
},
{
"key": "ctrl+shift+delete",
"command": "deleteWordPartRight",
"when": "editorTextFocus && !inSearchEditor"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment