Skip to content

Instantly share code, notes, and snippets.

@gamepad-coder
Created July 9, 2021 15:48
Show Gist options
  • Save gamepad-coder/f72198cf2c7136422e6de704025fb7bb to your computer and use it in GitHub Desktop.
Save gamepad-coder/f72198cf2c7136422e6de704025fb7bb to your computer and use it in GitHub Desktop.
[2021_07_09] @ [10-47-49 AM] VSCode keybindings.json
/*
Cool Built-In Keybinds:
ctrl+] : Indent Selection
ctrl+[] : Un-Indent Selection
*/
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+alt+right", "command": "editor.unfold"
},
{
"key": "ctrl+up", "command": "editor.action.moveLinesUpAction"
},
{
"key": "ctrl+down", "command": "editor.action.moveLinesDownAction"
},
{
"key": "shift+ctrl+alt+up", "command": "scrollLineUp"
},
{
"key": "shift+ctrl+alt+down", "command": "scrollLineDown"
},
{
"key": "ctrl+tab", "command": "workbench.action.nextEditor"
},
{
"key": "ctrl+shift+tab", "command": "workbench.action.previousEditor"
},
{
"key": "ctrl+q", "command": "editor.action.commentLine"
},
{
"key": "ctrl+d", "command": "editor.action.copyLinesDownAction"
},
{
"key": "ctrl+alt+F1", "command": "editor.action.toggleRenderWhitespace"
},
{
"key": "ctrl+F1", "command": "editor.action.trimTrailingWhitespace"
},
{
// "key": "ctrl+alt+F1",
// "command": "settings.cycle",
// "args": {
// "id": "renderIndentGuides",
// "values": [
// { "editor.renderIndentGuides.enabled": true },
// { "editor.renderIndentGuides.enabled": false }
// ]
// },
// "when": "editorTextFocus"
// show indentation guides
"key": "ctrl+shift+F1",
"command": "settings.cycle.zen",
},
{
"key": "ctrl+alt+-", "command": "editor.action.fontZoomOut"
},
{
"key": "ctrl+alt+=", "command": "editor.action.fontZoomIn"
},
// =============PYTHON=============
{
"key": "alt+p", "command": "python.execInTerminal"
},
{
"key": "alt+enter", "command": "python.execInTerminal"
},
{
"key": "shift+ctrl+alt+k", "command": "workbench.action.terminal.kill"
},
// =============EXTENSIONS==============
{
"key": "alt+j",
"command": "quickReplaceInSelection.replaceInSelection",
"when": "editorTextFocus"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment