Created
May 11, 2026 17:33
-
-
Save thadeu/dd52dfbdd8252e356aef901c9c7c8684 to your computer and use it in GitHub Desktop.
VSCode Shortcuts
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 | |
| [ | |
| { | |
| "key": "cmd+shift+.", | |
| "command": "erb.toggleTags", | |
| "when": "editorTextFocus && editorLangId == erb" | |
| }, | |
| { | |
| "key": "cmd+1", | |
| "command": "workbench.action.openEditorAtIndex1" | |
| }, | |
| { | |
| "key": "cmd+2", | |
| "command": "workbench.action.openEditorAtIndex2" | |
| }, | |
| { | |
| "key": "cmd+3", | |
| "command": "workbench.action.openEditorAtIndex3" | |
| }, | |
| { | |
| "key": "cmd+4", | |
| "command": "workbench.action.openEditorAtIndex4" | |
| }, | |
| { | |
| "key": "cmd+5", | |
| "command": "workbench.action.openEditorAtIndex5" | |
| }, | |
| { | |
| "key": "cmd+6", | |
| "command": "workbench.action.openEditorAtIndex6" | |
| }, | |
| { | |
| "key": "cmd+7", | |
| "command": "workbench.action.openEditorAtIndex7" | |
| }, | |
| { | |
| "key": "cmd+8", | |
| "command": "workbench.action.openEditorAtIndex8" | |
| }, | |
| { | |
| "key": "cmd+9", | |
| "command": "workbench.action.openEditorAtIndex9" | |
| }, | |
| { | |
| "key": "shift+cmd+d", | |
| "command": "editor.action.copyLinesDownAction", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "cmd+;", | |
| "command": "editor.action.commentLine", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "tab", | |
| "command": "editor.emmet.action.expandAbbreviation", | |
| "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus" | |
| }, | |
| { | |
| "key": "tab", | |
| "command": "-editor.emmet.action.expandAbbreviation", | |
| "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus" | |
| }, | |
| { | |
| "key": "shift+cmd+e", | |
| "command": "emmet.expandAbbreviation" | |
| }, | |
| { | |
| "key": "shift+cmd+\\", | |
| "command": "workbench.action.splitEditor" | |
| }, | |
| { | |
| "key": "cmd+\\", | |
| "command": "-workbench.action.splitEditor" | |
| }, | |
| { | |
| "key": "cmd+[enter]", | |
| "command": "extension.ctag_search", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "cmd+k", | |
| "command": "workbench.action.terminal.clear", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "cmd+k", | |
| "command": "-workbench.action.terminal.clear", | |
| "when": "terminalFocus && terminalProcessSupported" | |
| }, | |
| { | |
| "key": "shift+cmd+d", | |
| "command": "editor.action.copyLinesDownAction", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "shift+alt+f", | |
| "command": "-editor.action.formatDocument.none", | |
| "when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly" | |
| }, | |
| { | |
| "key": "cmd+r r", | |
| "command": "editor.action.formatDocument", | |
| "when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" | |
| }, | |
| { | |
| "key": "shift+alt+f", | |
| "command": "-editor.action.formatDocument", | |
| "when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" | |
| }, | |
| { | |
| "key": "shift+cmd+j", | |
| "command": "-workbench.action.search.toggleQueryDetails", | |
| "when": "inSearchEditor || searchViewletFocus" | |
| }, | |
| { | |
| "key": "shift+cmd+j", | |
| "command": "workbench.action.toggleMaximizedPanel" | |
| }, | |
| { | |
| "key": "cmd+l", | |
| "command": "-aichat.newchataction" | |
| }, | |
| { | |
| "key": "alt+cmd+l", | |
| "command": "-aichat.showchatdropdown" | |
| }, | |
| { | |
| "key": "alt+cmd+l", | |
| "command": "-toggleFindInSelection", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "cmd+y", | |
| "command": "-editor.action.inlineDiffs.acceptPartialEdit", | |
| "when": "editorTextFocus && (arbitrary function)" | |
| }, | |
| { | |
| "key": "cmd+y", | |
| "command": "-aichat.newfollowupaction" | |
| }, | |
| { | |
| "key": "cmd+y", | |
| "command": "-composer.newchatfollowup" | |
| }, | |
| { | |
| "key": "alt+cmd+l", | |
| "command": "-toggleSearchEditorContextLines", | |
| "when": "inSearchEditor" | |
| }, | |
| { | |
| "key": "alt+cmd+l", | |
| "command": "-composer.showComposerHistory" | |
| }, | |
| { | |
| "key": "cmd+i", | |
| "command": "composerMode.agent" | |
| }, | |
| { | |
| "key": "shift+alt+cmd+y", | |
| "command": "-workbench.debug.action.toggleRepl", | |
| "when": "workbench.panel.repl.view.active" | |
| }, | |
| { | |
| "key": "alt+cmd+s", | |
| "command": "workbench.action.toggleUnifiedSidebarFromKeyboard", | |
| "when": "cursor.agentIdeUnification.enabled == true && !isAuxiliaryWindowFocusedContext" | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment