Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save broisnischal/a0490b77957760b2d7351392c626ec57 to your computer and use it in GitHub Desktop.
Save broisnischal/a0490b77957760b2d7351392c626ec57 to your computer and use it in GitHub Desktop.
keybindings.json
[
{
"key": "ctrl+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFolder"
},
{
"key": "shift+cmd+s",
"command": "-workbench.action.files.saveAs"
},
{
"key": "shift+cmd+s",
"command": "-workbench.action.files.saveLocalFile",
"when": "remoteFileDialogVisible"
},
{
"key": "shift+cmd+s",
"command": "editor.action.fixAll"
},
{
"key": "ctrl+'",
"command": "bracketeer.swapQuotes"
},
{
"key": "ctrl+shift+alt+;",
"command": "-bracketeer.swapQuotes"
},
{
"key": "ctrl+]",
"command": "bracketeer.swapBrackets"
},
{
"key": "ctrl+shift+alt+k",
"command": "-bracketeer.swapBrackets"
},
{
"key": "ctrl+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFolder"
},
{
"key": "shift+alt+down",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+up",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+q",
"command": "workbench.files.action.collapseExplorerFolders"
},
{
"key": "shift+space",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
{
"key": "ctrl+alt+f",
"command": "search.action.openNewEditor",
"args": {
"query": "",
"triggerSearch": true,
"focusResults": false
}
},
{
"key": "ctrl+alt+-",
"command": "-workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "shift+alt+d",
"command": "workbench.action.navigateForwardInEditLocations"
},
{
"key": "shift+alt+a",
"command": "workbench.action.navigateBackInEditLocations"
},
{
"key": "ctrl+alt+.",
"command": "workbench.action.focusTitleBar"
},
{
"key": "Ctrl+Shift+B",
"command": "editor.emmet.action.balanceOut"
},
{
"key": "ctrl+shift+v",
"command": "-cody.command.edit-code",
"when": "cody.activated && !editorReadonly"
},
{
"key": "ctrl+q",
"command": "-workbench.action.quit"
},
{
"key": "alt+h",
"command": "cursorLeft",
"when": "editorTextFocus"
},
{
"key": "alt+j",
"command": "cursorDown",
"when": "editorTextFocus"
},
{
"key": "alt+k",
"command": "cursorUp",
"when": "editorTextFocus"
},
{
"key": "alt+l",
"command": "cursorRight",
"when": "editorTextFocus"
},
{
"key": "ctrl+Q",
"command": "workbench.explorer.fileView.focus"
},
{
"key": "ctrl+1",
"command": "workbench.action.focusActiveEditorGroup",
"when": "!terminalFocus"
},
{
"key": "shift+alt+q",
"command": "workbench.files.action.collapseExplorerFolders",
"when": "!terminalFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment