Created
November 12, 2020 13:32
-
-
Save david-driscoll/6cd0044c1408e3aaf9eaab9e1c0f3061 to your computer and use it in GitHub Desktop.
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": "ctrl+k ctrl+d", | |
"command": "editor.action.formatDocument", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+r ctrl+r", | |
"command": "editor.action.rename", | |
"when": "editorTextFocus" | |
}, | |
// Disable editor.action.copyLinesUpAction | |
{ | |
"key": "shift+alt+up", | |
"command": "", | |
"when": "editorTextFocus" | |
}, | |
// Disable editor.action.copyLinesDownAction | |
{ | |
"key": "shift+alt+down", | |
"command": "", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+d", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus" | |
}, | |
// disable console.open | |
{ | |
"key": "ctrl+shift+c", | |
"command": "" | |
}, | |
{ | |
"key": "ctrl+shift+s", | |
"command": "" | |
}, | |
// disable console.openActive | |
{ | |
"key": "ctrl+shift+a", | |
"command": "" | |
}, | |
{ | |
"key": "ctrl+shift+`", | |
"command": "workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "alt+`", | |
"command": "workbench.action.terminal.openNativeConsole" | |
}, | |
{ | |
"key": "ctrl+\\", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+shift+\\", | |
"command": "workbench.files.action.showActiveFileInExplorer" | |
}, | |
{ | |
"key": "ctrl+u", | |
"command": "editor.action.transformToUppercase" | |
}, | |
{ | |
"key": "ctrl+shift+u", | |
"command": "editor.action.transformToLowercase" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+.", | |
"command": "editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+s", | |
"command": "saveAll", | |
"when": "editorTextFocus && !editorReadonly" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment