Skip to content

Instantly share code, notes, and snippets.

@bpedman
Created December 9, 2015 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bpedman/a4b3db1655e5dac15697 to your computer and use it in GitHub Desktop.
Save bpedman/a4b3db1655e5dac15697 to your computer and use it in GitHub Desktop.
Visual Studio Code - Eclipse Keybindings (Mac)
[
{
"key": "cmd+d",
"command": "editor.action.cutLines",
"when": "editorTextFocus"
},
{
"key": "cmd+o",
"command": "workbench.action.gotoSymbol"
},
{
"key": "cmd+[",
"command": "workbench.action.navigateBack"
},
{
"key": "cmd+]",
"command": "workbench.action.navigateForward"
},
{
"key": "cmd+shift+f",
"command": "editor.action.format",
"when": "editorTextFocus"
},
{
"key": "cmd+l",
"command": "workbench.action.gotoLine"
},
{
"key": "F3",
"command": "editor.action.goToDeclaration"
},
{
"key": "cmd+shift+g",
"command": "editor.action.referenceSearch.trigger"
},
{
"key": "cmd+alt+r",
"command": "editor.action.rename",
"when": "editorTextFocus"
},
{
"key": "cmd+shift+r",
"command": "workbench.action.quickOpen"
},
{
"key": "cmd+shift+t",
"command": "workbench.action.quickOpen"
},
{
"key": "cmd+f",
"command": "actions.find"
},
{
"key": "alt+left",
"command": "subwordNavigation.cursorSubwordLeft"
},
{
"key": "alt+right",
"command": "subwordNavigation.cursorSubwordRight"
},
{
"key": "alt+left",
"command": "subwordNavigation.cursorSubwordLeft"
},
{
"key": "shift+alt+left",
"command": "subwordNavigation.cursorSubwordLeftSelect"
},
{
"key": "shift+alt+right",
"command": "subwordNavigation.cursorSubwordRightSelect"
},
{
"key": "alt+backspace",
"command": "subwordNavigation.deleteSubwordLeft"
},
{
"key": "cmd+d",
"command": "editor.action.deleteLines",
"when": "editorTextFocus"
},
{
"key": "cmd+shift+]",
"command": "workbench.files.action.openNextWorkingFile"
},
{
"key": "cmd+shift+[",
"command": "workbench.files.action.openPreviousWorkingFile"
}
]
@bpedman
Copy link
Author

bpedman commented Dec 9, 2015

In order for the camel humps (subword) navigation to work you need to install the Subword Navigation extension.

@peabnuts123
Copy link

Just a heads up you have cmd+d listed twice for the same context. The first instance, editor.action.cutLines is incorrect.

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