Skip to content

Instantly share code, notes, and snippets.

@janjongboom
Last active January 5, 2023 07:30
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janjongboom/230e6bee02fc584cc1a86d5c5a1d56b7 to your computer and use it in GitHub Desktop.
Save janjongboom/230e6bee02fc584cc1a86d5c5a1d56b7 to your computer and use it in GitHub Desktop.
Cloud9 IDE keybindings for Visual Studio Code
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+e",
"command": "workbench.action.quickOpen"
},
{
"key": "shift+cmd+e",
"command": "workbench.action.gotoSymbol"
},
{
"key": "alt+ctrl+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "alt+ctrl+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "cmd+shift+b",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+d",
"command": "editor.action.deleteLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+right",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+alt+left",
"command": "editor.action.addSelectionToPreviousFindMatch",
"when": "editorFocus"
},
{
"key": "shift+ctrl+alt+right",
"command": "editor.action.moveSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "shift+ctrl+alt+left",
"command": "editor.action.moveSelectionToPreviousFindMatch",
"when": "editorFocus"
},
{
"key": "cmd+alt+down",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+alt+up",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+t",
"command": "workbench.action.terminal.new"
},
{
"key": "f3",
"command": "editor.action.goToDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus"
},
{
"key": "alt+f3",
"command": "editor.action.previewDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor"
},
{
"key": "cmd+l",
"command": "workbench.action.gotoLine"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment