Skip to content

Instantly share code, notes, and snippets.

@iguit0
Last active September 22, 2023 18:18
Show Gist options
  • Save iguit0/6ee56c8a011a6b49d94c8dcb0bb918f7 to your computer and use it in GitHub Desktop.
Save iguit0/6ee56c8a011a6b49d94c8dcb0bb918f7 to your computer and use it in GitHub Desktop.
Visual Studio Code Keybindings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+d",
"command": "-editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+d",
"command": "editor.action.duplicateSelection"
},
{
"key": "ctrl+oem_2",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+;",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+abnt_c1",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+/",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+j",
"command": "editor.action.addSelectionToNextFindMatch"
},
{
"key": "alt+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+down",
"command": "-editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment