Skip to content

Instantly share code, notes, and snippets.

@samselikoff
Created April 30, 2024 02:59
Show Gist options
  • Save samselikoff/bb8f30021bc7b4318e03de409d2066e1 to your computer and use it in GitHub Desktop.
Save samselikoff/bb8f30021bc7b4318e03de409d2066e1 to your computer and use it in GitHub Desktop.
[
{
"key": "ctrl+k",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+up",
"command": "-editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+j",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+down",
"command": "-editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "ctrl+1",
"command": "-workbench.action.openEditorAtIndex1"
},
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "ctrl+2",
"command": "-workbench.action.openEditorAtIndex2"
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "ctrl+3",
"command": "-workbench.action.openEditorAtIndex3"
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "ctrl+4",
"command": "-workbench.action.openEditorAtIndex4"
},
{
"key": "cmd+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "ctrl+5",
"command": "-workbench.action.openEditorAtIndex5"
},
{
"key": "cmd+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "ctrl+6",
"command": "-workbench.action.openEditorAtIndex6"
},
{
"key": "cmd+8",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "ctrl+7",
"command": "-workbench.action.openEditorAtIndex7"
},
{
"key": "cmd+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "ctrl+8",
"command": "-workbench.action.openEditorAtIndex8"
},
{
"key": "cmd+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+9",
"command": "-workbench.action.openEditorAtIndex9"
},
{
"key": "alt+j",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "alt+k",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "cmd+k l",
"command": "workbench.action.splitEditor"
},
{
"key": "cmd+\\",
"command": "-workbench.action.splitEditor"
},
{
"key": "cmd+k j",
"command": "workbench.action.splitEditorDown"
},
{
"key": "cmd+k h",
"command": "workbench.action.splitEditorLeft"
},
{
"key": "cmd+k k",
"command": "workbench.action.splitEditorUp"
},
{
"key": "alt+cmd+1",
"command": "workbench.view.explorer"
},
{
"key": "shift+cmd+e",
"command": "-workbench.view.explorer"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "explorerViewletFocus && !inputFocus"
},
{
"key": "ctrl+0",
"command": "-workbench.action.lastEditorInGroup"
},
{
"key": "ctrl+0",
"command": "workbench.action.focusSideBar"
},
{
"key": "cmd+0",
"command": "-workbench.action.focusSideBar"
},
{
"key": "m",
"command": "renameFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "enter",
"command": "-renameFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift+cmd+d",
"command": "-workbench.view.debug"
},
{
"key": "shift+cmd+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "[",
"command": "workbench.files.action.collapseExplorerFolders",
"when": "explorerViewletFocus && !inputFocus"
},
{
"key": "escape",
"command": "workbench.action.focusActiveEditorGroup",
"when": "explorerViewletFocus"
},
{
"key": "alt+w",
"command": "workbench.action.terminal.kill"
},
{
"key": "shift+cmd+a",
"command": "editor.emmet.action.wrapWithAbbreviation"
},
{
"key": "shift+5",
"command": "editor.emmet.action.matchTag",
"when": "editorTextFocus && vim.active && !inDebugRepl && vim.mode != 'Insert'"
},
{
"key": "alt+cmd+3",
"command": "workbench.view.scm"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm"
},
{
"key": "ctrl+]",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "ctrl+[",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "ctrl+d",
"command": "-extension.vim_ctrl+d",
"when": "editorTextFocus && vim.active && !inDebugRepl"
},
{
"key": "ctrl+d",
"command": "cursorPageDown",
"when": "textInputFocus"
},
{
"key": "pagedown",
"command": "-cursorPageDown",
"when": "textInputFocus"
},
{
"key": "ctrl+u",
"command": "-extension.vim_ctrl+u",
"when": "editorTextFocus && vim.active && vim.use<C-u> && !inDebugRepl"
},
{
"key": "ctrl+u",
"command": "cursorPageUp",
"when": "textInputFocus"
},
{
"key": "pageup",
"command": "-cursorPageUp",
"when": "textInputFocus"
},
{
"key": "cmd+/",
"command": "editor.emmet.action.toggleComment",
"when": "editorLangId == handlebars"
},
{
"key": "tab",
"command": "-editor.emmet.action.expandAbbreviation",
"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},
{
"key": "cmd+j",
"command": "-workbench.action.togglePanel"
},
{
"key": "cmd+j",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal"
},
{
"key": "cmd+k",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus"
},
{
"key": "cmd+k",
"command": "-workbench.action.terminal.clear",
"when": "terminalFocus && terminalProcessSupported"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment