Skip to content

Instantly share code, notes, and snippets.

@devoto13
Last active December 16, 2022 09:45
Show Gist options
  • Save devoto13/76c108a4d67ed0c70349c7b26f9e6555 to your computer and use it in GitHub Desktop.
Save devoto13/76c108a4d67ed0c70349c7b26f9e6555 to your computer and use it in GitHub Desktop.
[
{
"key": "alt+cmd+left",
"command": "workbench.action.navigateBack"
},
{
"key": "ctrl+-",
"command": "-workbench.action.navigateBack"
},
{
"key": "alt+cmd+right",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForward"
},
{
"key": "shift+cmd+r",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "f2",
"command": "-editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "f2",
"command": "-editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+f",
"command": "-workbench.action.findInFiles"
},
{
"key": "shift+cmd+f",
"command": "-workbench.view.search",
"when": "!searchViewletVisible"
},
{
"key": "shift+cmd+f",
"command": "filesExplorer.findInFolder"
},
{
"key": "shift+cmd+r",
"command": "renameFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "enter",
"command": "-renameFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift+cmd+d",
"command": "-editor.action.copyLinesDownAction",
"when": "editorFocus"
},
{
"key": "cmd+l",
"command": "expandLineSelection",
"when": "textInputFocus"
},
{
"key": "cmd+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+cmd+down",
"command": "-editor.action.moveLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "cmd+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+cmd+up",
"command": "-editor.action.moveLinesUpAction",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+l",
"command": "-editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+l",
"command": "-editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "alt+cmd+l",
"command": "editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+f",
"command": "-editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+cmd+l",
"command": "-toggleFindInSelection",
"when": "editorFocus"
},
{
"key": "shift+cmd+l",
"command": "editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "shift+alt+i",
"command": "-editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "alt+enter",
"command": "-editor.action.selectAllMatches",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "alt+enter",
"command": "-debug.openBreakpointToSide",
"when": "breakpointsFocused"
},
{
"key": "alt+enter",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+o",
"command": "-editor.action.organizeImports",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/"
},
{
"key": "cmd+o",
"command": "-workbench.action.files.openFileFolder",
"when": "fileDialog == 'local'"
},
{
"key": "alt+cmd+l",
"command": "editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+cmd+i",
"command": "editor.action.organizeImports"
},
{
"key": "alt+cmd+k",
"command": "eslint.executeAutofix"
},
{
"key": "shift+cmd+r",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "alt+cmd+p",
"command": "-keybindings.editor.toggleSortByPrecedence",
"when": "inKeybindings"
},
{
"key": "alt+cmd+p",
"command": "workbench.action.showAllSymbols"
},
{
"key": "cmd+t",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "ctrl+cmd+g",
"command": "editor.action.selectHighlights"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment