Skip to content

Instantly share code, notes, and snippets.

@AhiyaHiya
Created August 24, 2017 20:53
Show Gist options
  • Select an option

  • Save AhiyaHiya/c40c2931984dbfd2139e2ec26b49203b to your computer and use it in GitHub Desktop.

Select an option

Save AhiyaHiya/c40c2931984dbfd2139e2ec26b49203b to your computer and use it in GitHub Desktop.
Key shortcuts to make Visual Studio Code behave more like Xcode
[
{ "key": "alt+cmd+left", "command": "editor.fold",
"when": "editorTextFocus" },
{ "key": "alt+cmd+right", "command": "editor.unfold",
"when": "editorTextFocus" },
{ "key": "cmd+alt+[", "command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus" },
{ "key": "cmd+alt+]", "command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus" },
{ "key": "ctrl+cmd+j", "command": "editor.action.goToImplementation",
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" },
{ "key": "cmd+shift+o", "command": "workbench.action.showAllSymbols" },
{ "key": "ctrl+cmd+left", "command": "jump_back" },
{ "key": "ctrl+cmd+right", "command": "jump_forward" },
{ "key": "ctrl+cmd+up", "command": "C_Cpp.SwitchHeaderSource",
"when": "editorTextFocus && editorLangId == 'cpp'" },
{ "key": "ctrl+cmd+up", "command": "C_Cpp.SwitchHeaderSource",
"when": "editorTextFocus && editorLangId == 'c'" },
{ "key": "ctrl+6", "command": "workbench.action.gotoSymbol" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment