Skip to content

Instantly share code, notes, and snippets.

@Daniel-Vinicius
Created May 31, 2021 20:05
Show Gist options
  • Save Daniel-Vinicius/a8e224c7cadf1a7ffd3decadb645f9e9 to your computer and use it in GitHub Desktop.
Save Daniel-Vinicius/a8e224c7cadf1a7ffd3decadb645f9e9 to your computer and use it in GitHub Desktop.
Keyboard Shortcuts do Vscode
[
{
"key": "ctrl+e '",
"command": "workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "ctrl+shift+c",
"command": "-workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "ctrl+'",
"command": "workbench.action.terminal.new"
},
{
"key": "up ctrl+shift+up",
"command": "notebook.cell.copyUp",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "shift+alt+up",
"command": "-notebook.cell.copyUp",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "ctrl+shift+alt+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "shift+alt+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "shift+alt+down",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+up",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.formatDocument.none",
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly"
},
{
"key": "shift+alt+f",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
{
"key": "shift+alt+f w",
"command": "editor.action.formatDocument.multiple"
},
{
"key": "shift+alt+f",
"command": "editor.action.formatDocument.none"
},
{
"key": "shift+alt+f",
"command": "prettier.forceFormatDocument"
},
{
"key": "ctrl+shift+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+alt+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "shift+alt+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+c",
"command": "-editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+u",
"command": "-editor.action.removeCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+;",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+/",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
}
]
@Daniel-Vinicius
Copy link
Author

Kubuntu 20.04 LTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment