Skip to content

Instantly share code, notes, and snippets.

@raineorshine
Created June 20, 2023 21:42
Show Gist options
  • Save raineorshine/a4c6f20d1b5ccbc59d5974607679461f to your computer and use it in GitHub Desktop.
Save raineorshine/a4c6f20d1b5ccbc59d5974607679461f to your computer and use it in GitHub Desktop.
Four handy VS Code keyboard shortcuts
[
{
"key": "alt+cmd+d",
"command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "cmd+r",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "alt+j",
"command": "editor.action.joinLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+s",
"command": "editor.action.sortLinesAscending"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment