Skip to content

Instantly share code, notes, and snippets.

@mohsen1
Last active November 4, 2018 19:23
Show Gist options
  • 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"
}
]
@xedef
Copy link

xedef commented Jan 4, 2017

"key": "cmd+ctrl+down" is working but doing a beep each time the shortcut is used and is driving me insane. Anybody else is having this issue?

@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