Last active
January 7, 2019 13:35
-
-
Save millerdrew/5415e91a1085b5152d9da11481e1ed09 to your computer and use it in GitHub Desktop.
My Keyboard Shortcuts in VSCode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
// open file from File Explorer | |
{ | |
"key": "enter", | |
"command": "list.select", | |
"when": "explorerViewletVisible && filesExplorerFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "-renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" | |
}, | |
{ "key": "cmd+j", "command": "workbench.action.terminal.toggleTerminal" }, | |
{ | |
"key": "ctrl+`", | |
"command": "workbench.action.togglePanel" | |
}, | |
{ | |
"key": "shift+cmd+,", | |
"command": "-editor.action.inPlaceReplace.up", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+cmd+g cmd+h", | |
"command": "gitlens.showHistoryExplorer" | |
}, | |
{ | |
"key": "cmd+\\", | |
"command": "workbench.action.debug.continue", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "f5", | |
"command": "-workbench.action.debug.continue", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "alt+cmd+'", | |
"command": "workbench.action.debug.stepOver", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "f10", | |
"command": "-workbench.action.debug.stepOver", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "alt+cmd+;", | |
"command": "workbench.action.debug.stepInto", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "f11", | |
"command": "-workbench.action.debug.stepInto", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "alt+cmd+\\", | |
"command": "workbench.action.splitEditor" | |
}, | |
{ | |
"key": "cmd+\\", | |
"command": "-workbench.action.splitEditor" | |
}, | |
{ | |
"key": "alt+cmd+\\", | |
"command": "workbench.action.terminal.split", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+\\", | |
"command": "-workbench.action.terminal.split", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+k", | |
"command": "-editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "pagedown", | |
"command": "-workbench.action.terminal.scrollDownPage", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+j", | |
"command": "scrollPageDown", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+pagedown", | |
"command": "-scrollPageDown", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+cmd+k", | |
"command": "scrollPageUp", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+pageup", | |
"command": "-scrollPageUp", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "alt+cmd+b", | |
"command": "editor.debug.action.toggleBreakpoint", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "f9", | |
"command": "-editor.debug.action.toggleBreakpoint", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+b", | |
"command": "workbench.debug.viewlet.action.removeAllBreakpoints" | |
}, | |
{ | |
"key": "shift+cmd+k", | |
"command": "workbench.action.terminal.scrollUpPage", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "pageup", | |
"command": "-workbench.action.terminal.scrollUpPage", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+j", | |
"command": "workbench.action.terminal.scrollDownPage", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+j", | |
"command": "workbench.action.terminal.scrollDown", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "alt+cmd+pagedown", | |
"command": "-workbench.action.terminal.scrollDown", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+k", | |
"command": "workbench.action.terminal.scrollUp", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "alt+cmd+pageup", | |
"command": "-workbench.action.terminal.scrollUp", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+\\", | |
"command": "-editor.action.jumpToBracket", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+\\", | |
"command": "workbench.action.debug.start", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "f5", | |
"command": "-workbench.action.debug.start", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "ctrl+cmd+j", | |
"command": "scrollLineDown", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "-scrollLineDown", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+k", | |
"command": "scrollLineUp", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+pageup", | |
"command": "-scrollLineUp", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+cmd+r", | |
"command": "workbench.action.debug.restart", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+cmd+f5", | |
"command": "-workbench.action.debug.restart", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "ctrl+cmd+m", | |
"command": "editor.action.showContextMenu", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+f10", | |
"command": "-editor.action.showContextMenu", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+m", | |
"command": "settings.action.showContextMenu", | |
"when": "inSettingsEditor" | |
}, | |
{ | |
"key": "shift+f9", | |
"command": "-settings.action.showContextMenu", | |
"when": "inSettingsEditor" | |
}, | |
{ | |
"key": "shift+space", | |
"command": "editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+w", | |
"command": "-workbench.action.closeWindow" | |
}, | |
{ | |
"key": "shift+cmd+w", | |
"command": "workbench.action.switchWindow" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "-workbench.action.switchWindow" | |
}, | |
{ | |
"key": "shift+cmd+s", | |
"command": "-workbench.action.files.saveAs" | |
}, | |
{ | |
"key": "shift+cmd+s", | |
"command": "workbench.action.openRecent" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "-workbench.action.openRecent" | |
}, | |
{ | |
"key": "alt+cmd+n", | |
"command": "editor.action.wordHighlight.prev", | |
"when": "editorTextFocus && hasWordHighlights" | |
}, | |
{ | |
"key": "shift+f7", | |
"command": "-editor.action.wordHighlight.prev", | |
"when": "editorTextFocus && hasWordHighlights" | |
}, | |
{ | |
"key": "shift+cmd+n", | |
"command": "editor.action.wordHighlight.next", | |
"when": "editorTextFocus && hasWordHighlights" | |
}, | |
{ | |
"key": "f7", | |
"command": "-editor.action.wordHighlight.next", | |
"when": "editorTextFocus && hasWordHighlights" | |
}, | |
{ | |
"key": "shift+cmd+n", | |
"command": "-workbench.action.newWindow" | |
}, | |
{ | |
"key": "shift+cmd+b", | |
"command": "-workbench.action.tasks.build" | |
}, | |
{ | |
"key": "shift+cmd+b", | |
"command": "workbench.view.extension.bookmarks" | |
}, | |
{ | |
"key": "cmd+v", | |
"command": "-extension.vim_cmd+v", | |
"when": "editorTextFocus && vim.active && vim.overrideCmdV && vim.use<D-v> && !inDebugRepl" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment