Created
February 3, 2021 16:55
-
-
Save kennith/c7eae8dac47ef836b797f5df2471a976 to your computer and use it in GitHub Desktop.
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 override the defaults | |
| [ | |
| /** | |
| * Panel actions | |
| */ | |
| { | |
| "key": "cmd+e", | |
| "command": "workbench.action.focusActiveEditorGroup" | |
| }, | |
| { | |
| "key": "cmd+k cmd+f", | |
| "command": "workbench.view.search" | |
| }, | |
| { | |
| "key": "cmd+k cmd+d", | |
| "command": "workbench.view.debug" | |
| }, | |
| { | |
| "key": "cmd+k cmd+x", | |
| "command": "workbench.view.extensions", | |
| }, | |
| { | |
| "key": "cmd+k cmd+g", | |
| "command": "workbench.view.scm", | |
| }, | |
| { | |
| "key": "cmd+k cmd+b", | |
| "command": "workbench.action.toggleSidebarVisibility", | |
| }, | |
| { | |
| "key": "cmd+k cmd+t", | |
| "command": "workbench.action.terminal.toggleTerminal", | |
| }, | |
| { | |
| "key": "cmd+t", | |
| "command": "workbench.action.terminal.toggleTerminal", | |
| }, | |
| { | |
| "key": "cmd+k cmd+k", | |
| "command": "workbench.action.togglePanel", | |
| }, | |
| { | |
| "key": "cmd+k cmd+e", | |
| "command": "workbench.view.explorer", | |
| }, | |
| { | |
| "key": "cmd+k cmd+p", | |
| "command": "workbench.action.openRecent", | |
| }, | |
| // Terminal | |
| { | |
| "key": "ctrl+shift+\\", | |
| "command": "workbench.action.terminal.split", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "cmd+n", | |
| "command": "workbench.action.terminal.new", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+=", | |
| "command": "workbench.action.terminal.resizePaneRight", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+-", | |
| "command": "workbench.action.terminal.resizePaneLeft", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+l", | |
| "command": "workbench.action.terminal.focusNextPane", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+h", | |
| "command": "workbench.action.terminal.focusPreviousPane", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+w", | |
| "command": "workbench.action.terminal.kill", | |
| "when": "terminalFocus" | |
| }, | |
| // @Panels | |
| { | |
| "key": "ctrl+w", | |
| "command": "workbench.action.joinAllGroups", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "ctrl+shift+l", | |
| // "command": "workbench.action.splitEditor", | |
| "command": "workbench.action.moveEditorToRightGroup", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "ctrl+l", | |
| "command": "workbench.action.navigateRight", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "ctrl+h", | |
| "command": "workbench.action.navigateLeft", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "ctrl+=", | |
| "command": "workbench.action.increaseViewSize", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "ctrl+-", | |
| "command": "workbench.action.decreaseViewSize", | |
| "when": "editorFocus" | |
| }, | |
| // #Explorer | |
| { | |
| "key": "cmd+n", | |
| "command": "explorer.newFile", | |
| "when": "filesExplorerFocus && explorerViewletFocus && explorerViewletVisible && !inputFocus" | |
| }, | |
| { | |
| "key": "cmd+shift+n", | |
| "command": "explorer.newFolder", | |
| "when": "filesExplorerFocus && explorerViewletFocus && explorerViewletVisible && !inputFocus" | |
| }, | |
| // Saver | |
| { | |
| "key": "cmd+j", | |
| "command": "editor.action.joinLines", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "notifications.hideToasts", | |
| "when": "notificationToastsVisible" | |
| }, | |
| { | |
| "key": "ctrl+m", | |
| "command": "editor.action.jumpToBracket", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "ctrl+shift+m", | |
| "command": "editor.action.selectToBracket", | |
| "when": "editorTextFocus" | |
| }, | |
| // Emmet | |
| { | |
| "key": "cmd+m cmd+i", | |
| "command": "editor.emmet.action.balanceIn", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "cmd+m cmd+o", | |
| "command": "editor.emmet.action.balanceOut", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "cmd+m cmd+w", | |
| "command": "editor.emmet.action.wrapWithAbbreviation", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "cmd+m cmd+m", | |
| "command": "editor.emmet.action.matchTag", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "cmd+m cmd+e", | |
| "command": "editor.action.smartSelect.expand", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "cmd+m cmd+shift+e", | |
| "command": "editor.action.smartSelect.shrink", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "cmd+m cmd+r", | |
| "command": "editor.emmet.action.updateTag", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "cmd+m cmd+backspace", | |
| "command": "editor.emmet.action.removeTag", | |
| "when": "editorTextFocus" | |
| }, | |
| // | |
| { | |
| "key": "ctrl+.", | |
| "command": "editor.action.dirtydiff.next", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "ctrl+,", | |
| "command": "editor.action.dirtydiff.previous", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "shift+cmd+d", | |
| "command": "editor.action.duplicateSelection", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "ctrl+shift+h", | |
| "command": "workbench.action.moveEditorToLeftGroup" | |
| }, | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment