Skip to content

Instantly share code, notes, and snippets.

@williamkoller
Last active October 20, 2022 12:00
Show Gist options
  • Save williamkoller/397bb457e8df9996086c837eda30916d to your computer and use it in GitHub Desktop.
Save williamkoller/397bb457e8df9996086c837eda30916d to your computer and use it in GitHub Desktop.
key bindings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+c",
"command": "workbench.action.terminal.copySelection",
"when": "terminalFocus && terminalProcessSupported && terminalTextSelected"
},
{
"key": "ctrl+shift+c",
"command": "-workbench.action.terminal.copySelection",
"when": "terminalFocus && terminalProcessSupported && terminalTextSelected"
},
{
"key": "ctrl+v",
"command": "workbench.action.terminal.paste",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+shift+v",
"command": "-workbench.action.terminal.paste",
"when": "terminalFocus && terminalProcessSupported"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment