Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save PascalSenn/69c70cf76d868b2906223c0a61618637 to your computer and use it in GitHub Desktop.
Save PascalSenn/69c70cf76d868b2906223c0a61618637 to your computer and use it in GitHub Desktop.
keyboardshortcuts
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "shift+alt+q",
"command": "tslint.fixAllProblems"
},
{
"key": "shift+alt+u",
"command": "-extension.updateSettings"
},
{
"key": "shift+alt+u",
"command": "editor.action.transformToUppercase"
},
{
"key": "shift+alt+l",
"command": "editor.action.transformToLowercase"
},
{
"key": "shift+alt+up",
"command": "workbench.action.previousSideBarView",
"when": "sideBarFocus"
},
{
"key": "shift+alt+down",
"command": "workbench.action.nextSideBarView",
"when": "sideBarFocus"
},
{
"key": "shift+alt+s",
"command": "workbench.action.closeSidebar",
"when": "sideBarFocus"
},
{
"key": "shift+alt+s",
"command": "workbench.files.action.focusFilesExplorer",
"when": "!sideBarFocus"
},
{
"key": "ctrl+0",
"command": "-workbench.action.focusSideBar"
},
{
"key": "shift+alt+t",
"command": "workbench.action.focusPanel",
"when": "!panelFocus"
},
{
"key": "shift+alt+up",
"command": "workbench.action.previousPanelView",
"when": "panelFocus"
},
{
"key": "shift+alt+down",
"command": "workbench.action.nextPanelView",
"when": "panelFocus"
},
{
"key": "shift+alt+up",
"command": "workbench.action.terminal.focusNext",
"when": "panelFocus"
},
{
"key": "shift+alt+t",
"command": "workbench.action.togglePanel",
"when": "panelFocus"
},
{
"key": "alt+right",
"command": "-workbench.action.navigateForward"
},
{
"key": "shift+alt+down",
"command": "workbench.action.focusNextGroup",
"when": "editorTextFocus"
},
{
"key": "shift+alt+up",
"command": "workbench.action.focusPreviousGroup",
"when": "editorTextFocus"
},
{
"key": "shift+alt+numpad_add",
"command": "workbench.action.increaseViewSize"
},
{
"key": "shift+alt+numpad_subtract",
"command": "workbench.action.decreaseViewSize"
},
{
"key": "shift+alt+b",
"command": "-gitlens.toggleCodeLens",
"when": "editorTextFocus && gitlens:canToggleCodeLens && gitlens:enabled && config.gitlens.keymap == 'alternate'"
},
{
"key": "shift+alt+b",
"command": "bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+k",
"command": "-bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "shift+alt+c",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+a shift+alt+b",
"command": "bookmarks.listFromAllFiles"
},
{
"key": "shift+alt+right",
"command": "-editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "shift+alt+f12",
"command": "-references-view.find",
"when": "editorHasReferenceProvider"
},
{
"key": "shift+alt+r",
"command": "references-view.find"
},
{
"key": "shift+alt+i",
"command": "references-view.findImplementations"
},
{
"key": "alt+right",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+up",
"command": "cursorMove",
"args": {
"to": "up",
"by": "line",
"value": 10
},
"when": "editorTextFocus"
},
{
"key": "ctrl+down",
"command": "cursorMove",
"args": {
"to": "down",
"by": "line",
"value": 10
},
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+up",
"command": "cursorMove",
"args": {
"to": "up",
"by": "line",
"value": 10,
"select": true
},
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "cursorMove",
"args": {
"to": "down",
"by": "line",
"value": 10,
"select": true
},
"when": "editorTextFocus"
},
{
"key": "shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment