Skip to content

Instantly share code, notes, and snippets.

@batamire
Forked from mohsen1/keybindings.json.yaml
Last active October 18, 2016 14:04
Show Gist options
  • Save batamire/94d2607aebd1f29c8a75f4c45819e6d9 to your computer and use it in GitHub Desktop.
Save batamire/94d2607aebd1f29c8a75f4c45819e6d9 to your computer and use it in GitHub Desktop.
Sublime Text key bindings for Visual Studio Code
[
// sublime keybindings
{
"key": "cmd+shift+[",
"command": "workbench.action.previousEditor"
},
{
"key": "cmd+shift+]",
"command": "workbench.action.nextEditor"
},
{
"key": "alt+cmd+[",
"command": "editor.fold",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+]",
"command": "editor.unfold",
"when": "editorTextFocus"
},
{
"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"
},
{
"key": "shift+ctrl+k",
"command": "editor.action.deleteLines",
"when": "editorTextFocus" }
{
"key": "cmd+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "cmd+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "cmd+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "cmd+7",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "cmd+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "cmd+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+2",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+3",
"command": "workbench.action.focusThirdEditorGroup"
},
// sublime commands extension
{
"key": "ctrl+t",
"command": "extension.transpose",
"when": "editorFocus"
},
// {
// "key": "cmd+l",
// "command": "extension.expandToLine",
// "when": "editorFocus"
// },
{
"key": "shift+cmd+l",
"command": "extension.splitIntoLines",
"when": "editorFocus"
},
{
"key": "cmd+j",
"command": "extension.joinLines",
"when": "editorFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment