Skip to content

Instantly share code, notes, and snippets.

@tomasflopes
Last active May 12, 2023 16:48
Show Gist options
  • Save tomasflopes/e27edb492670a1787abce6f7ad21d637 to your computer and use it in GitHub Desktop.
Save tomasflopes/e27edb492670a1787abce6f7ad21d637 to your computer and use it in GitHub Desktop.
[
{
"key": "ctrl+shift+7",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+[Semicolon]",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "shift+alt+down",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+up",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+escape",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+shift+k",
"command": "workbench.action.terminal.clear"
},
{
"key": "ctrl+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+down",
"command": "editor.emmet.action.balanceIn"
},
{
"key": "ctrl+shift+[Comma]",
"command": "editor.emmet.action.wrapWithAbbreviation"
},
{
"key": "ctrl+shift+alt+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "shift+alt+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "alt+right",
"command": "-gitlens.key.alt+right",
"when": "gitlens:key:alt+right"
},
{
"key": "alt+right",
"command": "-workbench.action.terminal.focusNextPane",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "alt+left",
"command": "-workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "alt+left",
"command": "-gitlens.key.alt+left",
"when": "gitlens:key:alt+left"
},
{
"key": "ctrl+right",
"command": "cursorLineEnd"
},
{
"key": "shift+alt+left",
"command": "-editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "shift+alt+right",
"command": "-editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+right",
"command": "cursorLineEndSelect"
},
{
"key": "alt+right",
"command": "cursorWordEndRight",
"when": "textInputFocus"
},
{
"key": "ctrl+right",
"command": "-cursorWordEndRight",
"when": "textInputFocus"
},
{
"key": "ctrl+right",
"command": "-breadcrumbs.focusNext",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "ctrl+right",
"command": "-breadcrumbs.focusNextWithPicker",
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus"
},
{
"key": "alt+left",
"command": "cursorWordLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+left",
"command": "-cursorWordLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+left",
"command": "-breadcrumbs.focusPreviousWithPicker",
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus"
},
{
"key": "ctrl+left",
"command": "-breadcrumbs.focusPrevious",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "ctrl+shift+right",
"command": "-workbench.action.terminal.resizePaneRight",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+shift+left",
"command": "-workbench.action.terminal.resizePaneLeft",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+shift+left",
"command": "-cursorWordLeftSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+left",
"command": "cursorHomeSelect",
"when": "textInputFocus"
},
{
"key": "shift+home",
"command": "-cursorHomeSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+left",
"command": "cursorHome",
"when": "textInputFocus"
},
{
"key": "home",
"command": "-cursorHome",
"when": "textInputFocus"
},
{
"key": "ctrl+backspace",
"command": "-deleteWordLeft",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+delete",
"command": "-deleteWordRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "alt+delete",
"command": "-notebook.cell.clearOutputs",
"when": "notebookCellHasOutputs && notebookEditorFocused && !inputFocus"
},
{
"key": "ctrl+shift+right",
"command": "-cursorWordEndRightSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+alt+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+up",
"command": "cursorPageUp",
"when": "textInputFocus"
},
{
"key": "pageup",
"command": "-cursorPageUp",
"when": "textInputFocus"
},
{
"key": "ctrl+down",
"command": "cursorPageDown",
"when": "textInputFocus"
},
{
"key": "pagedown",
"command": "-cursorPageDown",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+backspace",
"command": "deleteAllLeft"
},
{
"key": "ctrl+delete",
"command": "deleteAllRight"
},
{
"key": "ctrl+up",
"command": "-scrollLineUp",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+up",
"command": "cursorPageUpSelect",
"when": "textInputFocus"
},
{
"key": "shift+pageup",
"command": "-cursorPageUpSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+down",
"command": "cursorPageDownSelect",
"when": "textInputFocus"
},
{
"key": "shift+pagedown",
"command": "-cursorPageDownSelect",
"when": "textInputFocus"
},
{
"key": "alt+delete",
"command": "deleteWordPartRight"
},
{
"key": "alt+backspace",
"command": "deleteWordPartLeft"
},
{
"key": "shift+alt+left",
"command": "cursorWordPartLeftSelect"
},
{
"key": "shift+alt+right",
"command": "cursorWordPartRightSelect"
},
{
"key": "ctrl+numpad0",
"command": "-workbench.action.zoomReset"
},
{
"key": "ctrl+numpad_add",
"command": "-workbench.action.zoomIn"
},
{
"key": "ctrl+[BracketLeft]",
"command": "-workbench.action.zoomIn"
},
{
"key": "ctrl+shift+0",
"command": "-workbench.action.zoomIn"
},
{
"key": "ctrl+numpad_subtract",
"command": "-workbench.action.zoomOut"
},
{
"key": "ctrl+-",
"command": "-workbench.action.zoomOut"
},
{
"key": "ctrl+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+g",
"command": "center-editor-window.center",
"when": "editorTextFocus || findWidgetVisible"
},
{
"key": "ctrl+l",
"command": "-center-editor-window.center",
"when": "editorTextFocus || findWidgetVisible"
},
{
"key": "ctrl+j",
"command": "workbench.action.gotoLine"
},
{
"key": "ctrl+g",
"command": "-workbench.action.gotoLine"
},
{
"key": "alt+k",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+j",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+w",
"command": "-extension.vim_ctrl+w",
"when": "editorTextFocus && vim.active && vim.use<C-w> && !inDebugRepl"
},
{
"key": "ctrl+shift+alt+right",
"command": "workbench.action.increaseViewSize"
},
{
"key": "ctrl+shift+alt+left",
"command": "workbench.action.decreaseViewSize"
},
{
"key": "ctrl+k left",
"command": "-workbench.action.moveActiveEditorGroupLeft"
},
{
"key": "ctrl+k right",
"command": "-workbench.action.moveActiveEditorGroupRight"
},
{
"key": "ctrl+[Quote]",
"command": "workbench.action.focusLeftGroup"
},
{
"key": "ctrl+k ctrl+left",
"command": "-workbench.action.focusLeftGroup"
},
{
"key": "ctrl+[Backslash]",
"command": "workbench.action.focusRightGroup"
},
{
"key": "ctrl+k ctrl+right",
"command": "-workbench.action.focusRightGroup"
},
{
"key": "alt+a",
"commands": "vscode-harpoon.addEditor"
},
{
"key": "alt+e",
"commands": "vscode-harpoon.editEditors"
},
{
"key": "alt+p",
"commands": "vscode-harpoon.editorQuickPick"
},
{
"key": "alt+1",
"command": "vscode-harpoon.gotoEditor1"
},
{
"key": "alt+2",
"command": "vscode-harpoon.gotoEditor2"
},
{
"key": "alt+3",
"command": "vscode-harpoon.gotoEditor3"
},
{
"key": "alt+4",
"command": "vscode-harpoon.gotoEditor4"
},
{
"key": "alt+5",
"command": "vscode-harpoon.gotoEditor5"
},
{
"key": "alt+p",
"command": "-toggleSearchPreserveCase",
"when": "searchViewletFocus"
},
{
"key": "alt+p",
"command": "-togglePreserveCase",
"when": "editorFocus"
},
{
"key": "alt+p",
"command": "-keybindings.editor.toggleSortByPrecedence",
"when": "inKeybindings"
},
{
"key": "alt+a",
"command": "vscode-harpoon.addEditor"
},
{
"key": "alt+e",
"command": "vscode-harpoon.editEditors"
},
{
"key": "alt+p",
"command": "vscode-harpoon.editorQuickPick"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment