Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Place your key bindings in this file to overwrite the defaults
- [
- // Start Toggle Explorer View
- { "key": "cmd+1", "command": "workbench.view.explorer" },
- { "key": "cmd+2", "command": "workbench.view.search" },
- { "key": "cmd+3", "command": "workbench.view.scm" },
- { "key": "cmd+4", "command": "workbench.view.debug" },
- { "key": "cmd+5", "command": "workbench.view.extensions" },
- { "key": "cmd+b", "command": "workbench.action.toggleSidebarVisibility" },
- // End Toggle Explorer View
- { "key": "cmd+1", "command": "workbench.view.explorer" },
- // Start Toggle sidebar focus
- {
- "key": "cmd+m `",
- "command": "workbench.view.explorer",
- "when": "explorerViewletVisible"
- },
- {
- "key": "cmd+m `",
- "command": "workbench.view.search",
- "when": "searchViewletVisible"
- },
- {
- "key": "cmd+m `",
- "command": "workbench.action.toggleSidebarVisibility",
- "when": "!explorerViewletVisible && !searchViewletVisible"
- },
- // End Toggle sidebar focus
- // Start FocusEditorGroup
- {
- "key": "cmd+m 1",
- "command": "workbench.action.focusFirstEditorGroup"
- },
- {
- "key": "cmd+m 2",
- "command": "workbench.action.focusSecondEditorGroup"
- },
- {
- "key": "cmd+m 3",
- "command": "workbench.action.focusThirdEditorGroup"
- },
- {
- "key": "cmd+m m",
- "command": "workbench.action.minimizeOtherEditors"
- },
- {
- "key": "cmd+m b",
- "command": "workbench.action.toggleSidebarVisibility"
- },
- {
- "key": "cmd+m cmd+m",
- "command": "workbench.action.evenEditorWidths"
- },
- {
- "key": "cmd+m e",
- "command": "workbench.files.action.focusOpenEditorsView"
- },
- {
- "key": "cmd+m f",
- "command": "workbench.files.action.focusFilesExplorer"
- },
- {
- "key": "h",
- "command": "list.collapse",
- "when": "listFocus"
- },
- {
- "key": "l",
- "command": "list.expand",
- "when": "listFocus"
- },
- {
- "key": "cmd+shift+n",
- "command": "explorer.newFolder",
- "when": "listFocus"
- },
- {
- "key": "cmd+m l",
- "command": "workbench.action.focusNextGroup"
- },
- {
- "key": "cmd+m h",
- "command": "workbench.action.focusPreviousGroup"
- },
- {
- "key": "cmd+m s",
- "command": "actions.find",
- "when": "findWidgetVisible"
- },
- // End FocusEditorGroup
- // Start Manage Tabs
- {
- "key": "cmd+k left",
- "command": "workbench.action.moveActiveEditorGroupLeft"
- },
- {
- "key": "cmd+k right",
- "command": "workbench.action.moveActiveEditorGroupRight"
- },
- {
- "key": "cmd+k shift+cmd+left",
- "command": "workbench.action.moveEditorLeftInGroup"
- },
- {
- "key": "cmd+k shift+cmd+right",
- "command": "workbench.action.moveEditorRightInGroup"
- },
- // End Manage Tabs
- // Start Previous / Next actions
- {
- "key": "cmd+down",
- "command": "search.action.focusNextSearchResult",
- "when": "searchViewletVisible"
- },
- {
- "key": "cmd+up",
- "command": "search.action.focusPreviousSearchResult",
- "when": "searchViewletVisible"
- },
- // End Previous / Next actions
- // Start quickOpenSelect
- {
- "key": "ctrl+`",
- "command": "workbench.action.quickOpenNavigatePrevious",
- "when": "inQuickOpen"
- },
- {
- "key": "ctrl+tab",
- "command": "workbench.action.quickOpenNavigateNext",
- "when": "inQuickOpen"
- },
- // End quickOpenSelect
- // Start Presentation mode
- {
- "key": "cmd+=",
- "command": "workbench.action.zoomIn"
- },
- {
- "key": "cmd+-",
- "command": "workbench.action.zoomOut"
- },
- {
- "key": "cmd+0",
- "command": "workbench.action.zoomReset"
- },
- // End Presentation mode
- // Start PyCharm like Commands
- {
- "key": "ctrl+alt+i",
- "command": "editor.action.reindentlines",
- "when": "editorFocus && editorLangId != 'html'"
- },
- {
- "key": "ctrl+alt+i",
- "command": "HookyQR.beautify",
- "when": "editorFocus && editorLangId == 'html'"
- },
- {
- "key": "enter",
- "command": "list.select",
- "when": "listFocus"
- },
- {
- "key": "f2",
- "command": "renameFile",
- "when": "explorerViewletVisible && filesExplorerFocus"
- },
- {
- "key": "alt+up",
- "command": "editor.action.smartSelect.grow",
- "when": "editorTextFocus"
- },
- {
- "key": "alt+down",
- "command": "editor.action.smartSelect.shrink",
- "when": "editorTextFocus"
- },
- {
- "key": "cmd+f",
- "command": "actions.find"
- },
- {
- "key": "alt+f",
- "command": "closeFindWidget",
- "when": "findWidgetVisible && editorFocus"
- },
- // End PyCharm like Commands
- // Start switch between angular 2 files
- {
- "key": "alt+s t",
- "command": "extension.switchTemplate",
- "when": "editorTextFocus"
- },
- {
- "key": "alt+s s",
- "command": "extension.switchStyle",
- "when": "editorTextFocus"
- },
- {
- "key": "alt+s c",
- "command": "extension.switchTS",
- "when": "editorTextFocus"
- },
- // Stop switch between angular 2 files
- // Start word navigation
- {
- "key": "alt+w left",
- "command": "subwordNavigation.cursorSubwordLeft",
- "when": "editorTextFocus"
- },
- {
- "key": "alt+w right",
- "command": "subwordNavigation.cursorSubwordRight",
- "when": "editorTextFocus"
- },
- {
- "key": "alt+w shift+left",
- "command": "subwordNavigation.cursorSubwordLeftSelect",
- "when": "editorTextFocus"
- },
- {
- "key": "alt+w shift+right",
- "command": "subwordNavigation.cursorSubwordRightSelect",
- "when": "editorTextFocus"
- },
- {
- "key": "alt+w backspace",
- "command": "subwordNavigation.deleteSubwordLeft",
- "when": "editorTextFocus"
- },
- {
- "key": "alt+w delete",
- "command": "subwordNavigation.deleteSubwordRight",
- "when": "editorTextFocus"
- },
- {
- "key": "ctrl+alt+d",
- "command": "-workbench.view.debug"
- },
- {
- "key": "ctrl+d",
- "command": "-workbench.action.debug.run",
- "when": "!inDebugMode && !terminalFocus"
- },
- {
- "key": "ctrl+d",
- "command": "-list.focusPageDown",
- "when": "listFocus"
- },
- {
- "key": "ctrl+d",
- "command": "-deleteRight",
- "when": "editorTextFocus && !editorReadonly"
- },
- {
- "key": "escape",
- "command": "closeParameterHints",
- "when": "editorTextFocus && parameterHintsVisible"
- }
- // {
- // "key": "ctrl-`",
- // "command": "workbench.action.terminal.toggleTerminal"
- // }
- // End work navigation
- ]
Add Comment
Please, Sign In to add comment