Last active
August 6, 2020 17:35
-
-
Save ipetinate/ab0be614cabdba277fb84709dcb9d954 to your computer and use it in GitHub Desktop.
My Visual Studio Code settings and keybindings (keyboards shortcuts) for Linux (to be more similar to Windows natural shortcuts)
This file contains 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 override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+shift+c", | |
"command": "workbench.action.terminal.openNativeConsole", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "ctrl+shift+c", | |
"command": "-workbench.action.terminal.openNativeConsole", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "ctrl+'", | |
"command": "workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "ctrl+shift+[BracketLeft]", | |
"command": "-workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+up", | |
"command": "-editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"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+down", | |
"command": "-notebook.cell.copyDown", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "-editor.action.insertCursorBelow", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "-notebook.cell.copyUp", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "-editor.action.insertCursorAbove", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "editor.action.formatDocument", | |
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" | |
}, | |
{ | |
"key": "ctrl+shift+i", | |
"command": "-editor.action.formatDocument", | |
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "editor.action.formatDocument.none", | |
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorHasDocumentFormattingProvider && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+i", | |
"command": "-editor.action.formatDocument.none", | |
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorHasDocumentFormattingProvider && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "notebook.format", | |
"when": "notebookEditable && !editorTextFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "ctrl+shift+i", | |
"command": "-notebook.format", | |
"when": "notebookEditable && !editorTextFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "notebook.formatCell", | |
"when": "editorHasDocumentFormattingProvider && editorTextFocus && inCompositeEditor && notebookEditable && !editorReadonly && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "ctrl+shift+i", | |
"command": "-notebook.formatCell", | |
"when": "editorHasDocumentFormattingProvider && editorTextFocus && inCompositeEditor && notebookEditable && !editorReadonly && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "ctrl+;", | |
"command": "editor.action.addCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+k ctrl+c", | |
"command": "-editor.action.addCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+;", | |
"command": "editor.emmet.action.toggleComment" | |
}, | |
{ | |
"key": "ctrl+;", | |
"command": "editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+/", | |
"command": "-editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-filesExplorer.findInFolder", | |
"when": "explorerResourceIsFolder && explorerViewletVisible && filesExplorerFocus && !inputFocus" | |
} | |
] |
This file contains 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
{ | |
"window.titleBarStyle": "custom", | |
"workbench.colorTheme": "Dracula", | |
"editor.fontFamily": " \"Hack\"", | |
"terminal.integrated.fontFamily": "\"Hack\", monospace", | |
"editor.fontSize": 13, | |
"editor.formatOnType": true, | |
"workbench.iconTheme": "material-icon-theme", | |
"emmet.extensionsPath": "", | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact" | |
}, | |
"window.closeWhenEmpty": true, | |
"editor.tabSize": 2, | |
"explorer.compactFolders": false, | |
"launch": { | |
"configurations": [], | |
"compounds": [] | |
}, | |
"editor.formatOnSave": true, | |
"explorer.confirmDragAndDrop": false, | |
"git.enableSmartCommit": true, | |
"git.autofetch": true, | |
"git.confirmSync": false, | |
"javascript.format.semicolons": "remove", | |
"typescript.format.semicolons": "remove", | |
"javascript.referencesCodeLens.enabled": true, | |
"editor.gotoLocation.multipleReferences": "goto", | |
"references.preferredLocation": "view", | |
"editor.suggestSelection": "first", | |
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
"javascript.updateImportsOnFileMove.enabled": "always" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment