Skip to content

Instantly share code, notes, and snippets.

@mohsen1
Last active November 4, 2018 19:23
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save mohsen1/4dfcc61c1b8d8f7a2824 to your computer and use it in GitHub Desktop.
Save mohsen1/4dfcc61c1b8d8f7a2824 to your computer and use it in GitHub Desktop.
Sublime Text key bindings for Visual Studio Code
[
{
"key": "shift+cmd+d",
"command": "editor.action.copyLinesDownAction"
},
{
"key": "cmd+l",
"command": "expandLineSelection"
},
{
"key": "cmd+ctrl+up",
"command": "editor.action.moveLinesUpAction"
},
{
"key": "cmd+ctrl+down",
"command": "editor.action.moveLinesDownAction"
},
{
"key": "cmd+d",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+,",
"command": "vscode.previewSwagger",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+/",
"command": "editor.action.blockComment",
"when": "editorTextFocus"
},
{
"key": "ctrl+cmd+g",
"command": "editor.action.selectHighlights",
"when": "editorTextFocus"
}
]
@arturictus
Copy link

{ 
    "key": "cmd+shift+7",                 
    "command": "editor.action.commentLine",
    "when": "editorTextFocus && !editorReadonly" 
  }

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