Skip to content

Instantly share code, notes, and snippets.

@rkeithhill
Last active April 30, 2020 18:43
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rkeithhill/30c35f023c074392fd59793c9e30a2ae to your computer and use it in GitHub Desktop.
Save rkeithhill/30c35f023c074392fd59793c9e30a2ae to your computer and use it in GitHub Desktop.
My Visual Studio Code customized keyboard shorcuts
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "alt+n", "command": "explorer.newFile" },
{ "key": "alt+shift+s", "command": "PowerShell.InvokeRegisteredEditorCommand",
"args": { "commandName": "ConvertToSplatExpression" },
"when": "editorLangId == 'powershell'" },
{ "key": "ctrl+shift+q", "command": "workbench.action.toggleMaximizedPanel" },
{ "key": "ctrl+shift+s", "command": "workbench.action.files.saveAll" },
{ "key": "ctrl+shift+t", "command": "workbench.action.tasks.test" },
{ "key": "ctrl+alt+t", "command": "workbench.action.tasks.runTask" },
{ "key": "ctrl+enter", "command": "editor.action.insertLineBefore",
"when": "editorTextFocus" },
{ "key": "ctrl+shift+enter", "command": "editor.action.insertLineAfter",
"when": "editorTextFocus" },
{ "key": "ctrl+`", "command": "workbench.action.focusActiveEditorGroup",
"when": "!editorFocus" },
{ "key": "ctrl+`", "command": "workbench.action.terminal.focus",
"when": "!terminalFocus" },
{ "key": "ctrl+up", "command": "workbench.action.terminal.scrollToPreviousCommand",
"when": "terminalFocus" },
{ "key": "ctrl+down", "command": "workbench.action.terminal.scrollToNextCommand",
"when": "terminalFocus" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment