Skip to content

Instantly share code, notes, and snippets.

@pnettto
Last active December 5, 2025 15:24
Show Gist options
  • Select an option

  • Save pnettto/717afabd85a0813480ab738799bf4dba to your computer and use it in GitHub Desktop.

Select an option

Save pnettto/717afabd85a0813480ab738799bf4dba to your computer and use it in GitHub Desktop.
[
// Terminal Shortcuts
{
// Toggle terminal visibility when Shift + Cmd + T is pressed
// Only works when terminal is already active
"key": "shift+cmd+t",
"command": "workbench.action.terminal.toggleTerminal",
"when": "terminal.active"
},
{
// Maximize/restore the current panel when Alt + Cmd + T is pressed
"key": "alt+cmd+t",
"command": "workbench.action.toggleMaximizedPanel"
},
// Source Control (SCM) Shortcuts
{
// Open Source Control Management view when Shift + Cmd + G is pressed
// Only works when SCM is active
"key": "shift+cmd+g",
"command": "workbench.view.scm",
"when": "workbench.scm.active"
},
// Editor Editing Shortcuts
{
// Delete entire current line(s) when Shift + Cmd + D is pressed
// Only works when text input is focused and the editor is not read-only
"key": "shift+cmd+d",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
// Tab Navigation Shortcuts
{
// Move to the next editor tab when Ctrl + Tab is pressed
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
// Move to the previous editor tab when Ctrl + Shift + Tab is pressed
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
},
{
"key": "alt+cmd+a",
"command": "-aws.amazonq.optimizeCode",
"when": "aws.codewhisperer.connected"
},
{
"key": "alt+cmd+a",
"command": "workbench.action.toggleActivityBarVisibility"
},
{
"key": "alt+cmd+c",
"command": "-copyFilePath",
"when": "!editorFocus"
},
{
"key": "alt+cmd+c",
"command": "-workbench.action.terminal.toggleFindCaseSensitive",
"when": "terminalFindVisible && terminalHasBeenCreated || terminalFindVisible && terminalProcessSupported"
},
{
"key": "alt+cmd+c",
"command": "-toggleSearchEditorCaseSensitive",
"when": "inSearchEditor && searchInputBoxFocus"
},
{
"key": "alt+cmd+c",
"command": "-search.action.copyPath",
"when": "fileMatchOrFolderMatchWithResourceFocus"
},
{
"key": "alt+cmd+c",
"command": "-toggleFindCaseSensitive",
"when": "editorFocus"
},
{
"key": "alt+cmd+c",
"command": "-toggleSearchCaseSensitive",
"when": "searchViewletFocus && !fileMatchOrFolderMatchFocus"
},
{
"key": "ctrl+cmd+i",
"command": "-workbench.panel.chat",
"when": "workbench.panel.chat.view.copilot.active"
},
{
"key": "shift+cmd+r",
"command": "inlineChat.regenerate",
"when": "inlineChatHasProvider && inlineChatVisible"
},
{
"key": "cmd+r",
"command": "-inlineChat.regenerate",
"when": "inlineChatHasProvider && inlineChatVisible"
},
{
"key": "cmd+g",
"command": "editor.action.inlineSuggest.trigger"
},
{
"key": "alt+cmd+c",
"command": "-debug.copyWatchExpression",
"when": "watchExpressionsExist && !expressionSelected && focusedView == 'workbench.debug.watchExpressionsView'"
},
{
"key": "alt+cmd+c",
"command": "workbench.files.action.collapseExplorerFolders"
},
{
"key": "cmd+k t",
"command": "workbench.action.toggleLightDarkThemes"
},
{
"key": "alt+cmd+n",
"command": "claude-vscode.sidebar.open"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment