Skip to content

Instantly share code, notes, and snippets.

@fbedussi
Created February 28, 2019 14:54
Show Gist options
  • Save fbedussi/41ae6223aaae00d8dc430e1d82c1b79e to your computer and use it in GitHub Desktop.
Save fbedussi/41ae6223aaae00d8dc430e1d82c1b79e to your computer and use it in GitHub Desktop.
VS Code custom keybindings
// Inserire i tasti di scelta rapida in questo file per sovrascrivere i valori predefiniti
[
{
"key": "ctrl+w ctrl+v",
"command": "workbench.action.splitEditor"
},
{
"key": "shift+ctrl+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+ctrl+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+s",
"command": "workbench.action.files.saveAll"
},
{
"key": "ctrl+shift+o",
"command": "workbench.action.files.openFolder"
},
{
"key": "alt+shift+f",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+c",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+t",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+f4",
"command": "-extension.node-debug.pickLoadedScript",
"when": "debugType == 'node2'"
},
{
"key": "ctrl+f4",
"command": "workbench.action.closeActiveEditor"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment