Skip to content

Instantly share code, notes, and snippets.

@p-
Last active July 6, 2016 18:56
Show Gist options
  • Save p-/53fd14d4f2a42fcb2b2b29577750a142 to your computer and use it in GitHub Desktop.
Save p-/53fd14d4f2a42fcb2b2b29577750a142 to your computer and use it in GitHub Desktop.
// Eclipse Keybindings for Visual Studio Code
[
// General
{ "key": "ctrl+3", "command": "workbench.action.showCommands" },
{ "key": "ctrl+shift+r", "command": "workbench.action.quickOpen" },
{ "key": "ctrl+h", "command": "workbench.view.search" },
{ "key": "ctrl+shift+t", "command": "workbench.action.showAllSymbols" },
{ "key": "ctrl+l", "command": "workbench.action.gotoLine" },
{ "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" },
{ "key": "ctrl+shift+s", "command": "workbench.action.files.saveAs" },
{ "key": "ctrl+alt+s", "command": "workbench.action.files.saveAll" },
// Editor
{ "key": "ctrl+shift+/", "command": "editor.action.commentLine", "when": "editorTextFocus" },
{ "key": "ctrl+o", "command": "workbench.action.gotoSymbol", "when": "editorTextFocus"},
{ "key": "ctrl+shift+f", "command": "editor.action.format", "when": "editorTextFocus" },
{ "key": "alt+shift+down", "command": "editor.action.copyLinesDownAction", "when": "editorTextFocus" },
{ "key": "alt+shift+up", "command": "editor.action.copyLinesUpAction", "when": "editorTextFocus" },
{ "key": "alt+down", "command": "editor.action.moveLinesDownAction", "when": "editorTextFocus" },
{ "key": "alt+up", "command": "editor.action.moveLinesUpAction", "when": "editorTextFocus" },
{ "key": "ctrl+d", "command": "editor.action.deleteLines", "when": "editorTextFocus" },
{ "key": "alt+shift+r", "command": "editor.action.rename", "when": "editorTextFocus" },
{ "key": "ctrl+space", "command": "editor.action.triggerSuggest", "when": "editorTextFocus" },
{ "key": "f3", "command": "editor.action.goToDeclaration", "when": "editorTextFocus" },
{ "key": "ctrl+1", "command": "editor.action.quickFix", "when": "editorTextFocus" },
{ "key": "ctrl+alt+f", "when": "editorTextFocus" },
{ "key": "ctrl+shift+g", "command": "editor.action.referenceSearch.trigger", "when": "editorTextFocus" },
// Debug
{ "key": "ctrl+shift+b", "command": "editor.debug.action.toggleBreakpoint", "when": "editorTextFocus" },
{ "key": "f8", "command": "workbench.action.debug.continue", "when": "inDebugMode" },
{ "key": "ctrl-f11", "command": "workbench.action.debug.start", "when": "!inDebugMode" },
{ "key": "f5", "command": "workbench.action.debug.stepInto", "when": "inDebugMode" },
{ "key": "f7", "command": "workbench.action.debug.stepOut", "when": "inDebugMode" },
{ "key": "f6", "command": "workbench.action.debug.stepOver", "when": "inDebugMode" },
{ "key": "ctrl+f2", "command": "workbench.action.debug.stop", "when": "inDebugMode" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment