Skip to content

Instantly share code, notes, and snippets.

@tradingbills
Last active June 3, 2019 04:54
Show Gist options
  • Save tradingbills/fc315a51ad32e8e5bceea3708f3c879d to your computer and use it in GitHub Desktop.
Save tradingbills/fc315a51ad32e8e5bceea3708f3c879d to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+`",
"command": "workbench.action.togglePanelPosition"
},
{
"key": "ctrl+l",
"command": "-expandLineSelection",
"when": "textInputFocus"
},
{
"key": "ctrl+h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl+l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl+k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl+j",
"command": "workbench.action.navigateDown"
},
{
"key": "ctrl+;",
"command": "openInTerminal"
},
{
"key": "z m",
"command": "editor.foldAll",
"when": "editorTextFocus"
},
{
"key": "cmd+k cmd+0",
"command": "-editor.foldAll",
"when": "editorTextFocus"
},
{
"key": "z n",
"command": "editor.unfoldAll",
"when": "editorTextFocus"
},
{
"key": "cmd+k cmd+j",
"command": "-editor.unfoldAll",
"when": "editorTextFocus"
},
{
"key": "z shift+a",
"command": "editor.unfold",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+]",
"command": "-editor.unfold",
"when": "editorTextFocus"
},
{
"key": "z c",
"command": "editor.fold",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+[",
"command": "-editor.fold",
"when": "editorTextFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": "ctrl+enter",
"command": "-explorer.openToSide",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": "f6 f5",
"command": "workbench.action.debug.pause",
"when": "debugState == 'running'"
},
{
"key": "f6",
"command": "-workbench.action.debug.pause",
"when": "debugState == 'running'"
},
{
"key": "f6 x",
"command": "workbench.view.explorer"
},
{
"key": "shift+cmd+e",
"command": "-workbench.view.explorer"
},
{
"key": "ctrl+f6",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+;",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal"
},
{
"key": "z o",
"command": "editor.unfoldRecursively",
"when": "editorTextFocus"
},
{
"key": "cmd+k cmd+]",
"command": "-editor.unfoldRecursively",
"when": "editorTextFocus"
},
{
"key": "ctrl+b ctrl+b",
"command": "debug.toggleBreakpoint",
"when": "breakpointsFocused && !inputFocus"
},
{
"key": "space",
"command": "-debug.toggleBreakpoint",
"when": "breakpointsFocused && !inputFocus"
},
{
"key": "f6 f",
"command": "workbench.view.search",
"when": "!searchViewletVisible"
},
{
"key": "shift+cmd+f",
"command": "-workbench.view.search",
"when": "!searchViewletVisible"
},
{
"key": "ctrl+b ctrl+o",
"command": "debug.openBreakpointToSide",
"when": "breakpointsFocused"
},
{
"key": "alt+enter",
"command": "-debug.openBreakpointToSide",
"when": "breakpointsFocused"
},
{
"key": "f6 g",
"command": "workbench.action.findInFiles"
},
{
"key": "shift+cmd+f",
"command": "-workbench.action.findInFiles"
},
{
"key": "f6 i",
"command": "workbench.view.debug"
},
{
"key": "shift+cmd+d",
"command": "-workbench.view.debug"
},
{
"key": "f6 x",
"command": "workbench.view.extensions"
},
{
"key": "shift+cmd+x",
"command": "-workbench.view.extensions"
},
{
"key": "f6 u",
"command": "workbench.view.extension.test"
},
{
"key": "f6 k",
"command": "workbench.view.extension.dockerView"
},
{
"key": "f6 b",
"command": "workbench.view.extension.bookmarks"
},
{
"key": "f2",
"command": "renameFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "enter",
"command": "-renameFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "f6 f6",
"command": "workbench.explorer.fileView.focus"
},
{
"key": "cmd+k cmd+l",
"command": "list.toggleKeyboardNavigation",
"when": "listFocus && listSupportsKeyboardNavigation && !inputFocus"
},
{
"key": "/",
"command": "-list.toggleKeyboardNavigation",
"when": "listFocus && listSupportsKeyboardNavigation && !inputFocus"
},
{
"key": "f6 shift+8",
"command": "workbench.files.action.showActiveFileInExplorer"
},
{
"key": "ctrl+s",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "ctrl+2",
"command": "-workbench.action.openEditorAtIndex2"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+c",
"command": "filesExplorer.copy",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "cmd+c",
"command": "-filesExplorer.copy",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "ctrl+x",
"command": "filesExplorer.cut",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "cmd+x",
"command": "-filesExplorer.cut",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "ctrl+b",
"command": "moveFileToTrash",
"when": "explorerResourceMoveableToTrash && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "cmd+backspace",
"command": "-moveFileToTrash",
"when": "explorerResourceMoveableToTrash && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "ctrl+shift+backspace",
"command": "deleteFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "alt+cmd+backspace",
"command": "-deleteFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "cmd+backspace",
"command": "-deleteFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift+alt+r",
"command": "workbench.action.reopenClosedEditor"
},
{
"key": "shift+cmd+t",
"command": "-workbench.action.reopenClosedEditor"
},
{
"key": "f6 t",
"command": "workbench.view.extension.todo-tree-container"
},
{
"key": "f6 o",
"command": "outline.focus"
},
{
"key": "ctrl+f11",
"command": "workbench.action.toggleFullScreen"
},
{
"key": "ctrl+cmd+f",
"command": "-workbench.action.toggleFullScreen"
},
{
"key": "alt+left",
"command": "workbench.action.moveEditorLeftInGroup"
},
{
"key": "cmd+k shift+cmd+left",
"command": "-workbench.action.moveEditorLeftInGroup"
},
{
"key": "alt+right",
"command": "workbench.action.moveEditorRightInGroup"
},
{
"key": "cmd+k shift+cmd+right",
"command": "-workbench.action.moveEditorRightInGroup"
},
{
"key": "shift+1 v",
"command": "workbench.action.splitEditor"
},
{
"key": "cmd+\\",
"command": "-workbench.action.splitEditor"
},
{
"key": "shift+1 z",
"command": "workbench.action.splitEditorOrthogonal"
},
{
"key": "cmd+k cmd+\\",
"command": "-workbench.action.splitEditorOrthogonal"
},
{
"key": "cmd+p",
"command": "workbench.action.quickOpenNavigateNextInFilePicker",
"when": "inFilesPicker && inQuickOpen"
},
{
"key": "cmd+p",
"command": "-workbench.action.quickOpenNavigateNextInFilePicker",
"when": "inFilesPicker && inQuickOpen"
},
{
"key": "shift+1 h",
"command": "workbench.action.splitEditorLeft"
},
{
"key": "alt+s alt+l",
"command": "workbench.action.splitEditorRight"
},
{
"key": "shift+1 k",
"command": "workbench.action.splitEditorUp"
},
{
"key": "shift+1 v",
"command": "workbench.action.splitEditorDown"
},
{
"key": "alt+w alt+h",
"command": "workbench.action.closeEditorsToTheLeft"
},
{
"key": "alt+g alt+w",
"command": "workbench.action.closeEditorsInOtherGroups"
},
{
"key": "z x",
"command": "editor.foldAllMarkerRegions",
"when": "editorTextFocus"
},
{
"key": "cmd+k cmd+8",
"command": "-editor.foldAllMarkerRegions",
"when": "editorTextFocus"
},
{
"key": "z shift+x",
"command": "editor.foldAllBlockComments",
"when": "editorTextFocus"
},
{
"key": "cmd+k cmd+/",
"command": "-editor.foldAllBlockComments",
"when": "editorTextFocus"
},
{
"key": "z a",
"command": "editor.foldRecursively",
"when": "editorTextFocus"
},
{
"key": "cmd+k cmd+[",
"command": "-editor.foldRecursively",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+b",
"command": "breadcrumbs.focus",
"when": "breadcrumbsPossible"
},
{
"key": "shift+cmd+;",
"command": "-breadcrumbs.focus",
"when": "breadcrumbsPossible"
},
{
"key": "shift+cmd+\\",
"command": "-editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+5",
"command": "editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "alt+, l",
"command": "workbench.action.nextEditor"
},
{
"key": "shift+cmd+]",
"command": "-workbench.action.nextEditor"
},
{
"key": "alt+cmd+right",
"command": "-workbench.action.nextEditor"
},
{
"key": "alt+, h",
"command": "workbench.action.previousEditor"
},
{
"key": "shift+cmd+[",
"command": "-workbench.action.previousEditor"
},
{
"key": "alt+cmd+left",
"command": "-workbench.action.previousEditor"
},
{
"key": "f6 h",
"command": "workbench.action.toggleSidebarPosition"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment