Skip to content

Instantly share code, notes, and snippets.

@lefloh
Last active August 29, 2015 14:05
Show Gist options
  • Save lefloh/98f019161d9338f36940 to your computer and use it in GitHub Desktop.
Save lefloh/98f019161d9338f36940 to your computer and use it in GitHub Desktop.
Dart Editor MacOS Key Bindings
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<dartKeyBindings version="1">
<keyBinding commandName="Activate Editor" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+F12" />
<keyBinding commandName="Backward History" context="org.eclipse.ui.contexts.window" keySequence="ALT+COMMAND+ARROW_LEFT" />
<keyBinding commandName="Close" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+W"/>
<keyBinding commandName="Close All" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+SHIFT+W"/>
<keyBinding commandName="Close Glance" context="com.xored.glance.ui.context" keySequence="ESC"/>
<keyBinding commandName="Content Assist" context="org.eclipse.ui.contexts.dialogAndWindow" keySequence="CTRL+SPACE"/>
<keyBinding commandName="Copy" context="org.eclipse.ui.contexts.dialogAndWindow" keySequence="COMMAND+C"/>
<keyBinding commandName="Copy Lines" context="org.eclipse.ui.textEditorScope" keySequence="ALT+COMMAND+ARROW_DOWN"/>
<keyBinding commandName="Cut" context="org.eclipse.ui.contexts.dialogAndWindow" keySequence="COMMAND+X"/>
<keyBinding commandName="Cut to End of Line" context="org.eclipse.ui.textEditorScope" keySequence="ALT+COMMAND+SHIFT+DEL"/>
<keyBinding commandName="Declaration in Workspace" context="com.google.dart.tools.ui.dartEditorScope" keySequence="COMMAND+SHIFT+D"/>
<keyBinding commandName="Delete" context="org.eclipse.ui.contexts.window" keySequence="DEL"/>
<keyBinding commandName="Delete Line" context="org.eclipse.ui.textEditorScope" keySequence="COMMAND+D"/>
<keyBinding commandName="Delete Next Word" context="org.eclipse.ui.textEditorScope" keySequence="ALT+DEL" />
<keyBinding commandName="Delete Previous Word" context="org.eclipse.ui.textEditorScope" keySequence="ALT+BS" />
<keyBinding commandName="Delete to End of Line" context="org.eclipse.ui.textEditorScope" keySequence="COMMAND+SHIFT+DEL"/>
<keyBinding commandName="Duplicate Lines" context="org.eclipse.ui.textEditorScope" keySequence="ALT+COMMAND+ARROW_UP"/>
<keyBinding commandName="Extract Local Variable" context="org.eclipse.ui.contexts.window" keySequence="ALT+COMMAND+L" />
<keyBinding commandName="Extract Method" context="org.eclipse.ui.contexts.window" keySequence="ALT+COMMAND+M" />
<keyBinding commandName="Find Next" context="org.eclipse.ui.textEditorScope" keySequence="COMMAND+G"/>
<keyBinding commandName="Find Previous" context="org.eclipse.ui.textEditorScope" keySequence="COMMAND+SHIFT+G"/>
<keyBinding commandName="Find and Replace" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+SHIFT+F"/>
<keyBinding commandName="Format Element" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+SHIFT+R"/>
<keyBinding commandName="Forward History" context="org.eclipse.ui.contexts.window" keySequence="ALT+COMMAND+ARROW_RIGHT" />
<keyBinding commandName="Go to Line" context="org.eclipse.ui.textEditorScope" keySequence="COMMAND+L"/>
<keyBinding commandName="Go to Matching Bracket" context="com.google.dart.tools.ui.dartEditorScope" keySequence="COMMAND+SHIFT+P"/>
<keyBinding commandName="Inline" context="org.eclipse.ui.contexts.window" keySequence="ALT+COMMAND+I" platform="cocoa"/>
<keyBinding commandName="Insert Line Above Current Line" context="org.eclipse.ui.textEditorScope" keySequence="COMMAND+SHIFT+CR"/>
<keyBinding commandName="Join Lines" context="org.eclipse.ui.textEditorScope" keySequence="ALT+COMMAND+J"/>
<keyBinding commandName="Line End" context="org.eclipse.ui.textEditorScope" keySequence="COMMAND+ARROW_RIGHT" />
<keyBinding commandName="Line Start" context="org.eclipse.ui.textEditorScope" keySequence="COMMAND+ARROW_LEFT" />
<keyBinding commandName="Manage Launches" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+SHIFT+M"/>
<keyBinding commandName="Maximize Active View or Editor" context="org.eclipse.ui.contexts.window" keySequence="CTRL+M" />
<keyBinding commandName="Move Lines Down" context="org.eclipse.ui.textEditorScope" keySequence="ALT+ARROW_DOWN"/>
<keyBinding commandName="Move Lines Up" context="org.eclipse.ui.textEditorScope" keySequence="ALT+ARROW_UP"/>
<keyBinding commandName="New File..." context="org.eclipse.ui.contexts.window" keySequence="COMMAND+N"/>
<keyBinding commandName="Next Editor" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+F6"/>
<keyBinding commandName="Next Tab" context="org.eclipse.ui.textEditorScope" keySequence="CTRL+TAB"/>
<keyBinding commandName="Next Word" context="org.eclipse.ui.textEditorScope" keySequence="ALT+ARROW_RIGHT" />
<keyBinding commandName="Open Class Hierarchy" context="org.eclipse.ui.contexts.window" keySequence="F4"/>
<keyBinding commandName="Open Declaration" context="com.google.dart.tools.ui.dartViewScope" keySequence="F3"/>
<keyBinding commandName="Open Existing Folder..." context="org.eclipse.ui.contexts.window" keySequence="COMMAND+O"/>
<keyBinding commandName="Open Glance" context="org.eclipse.ui.contexts.dialogAndWindow" keySequence="COMMAND+F"/>
<keyBinding commandName="Open Structure" context="com.google.dart.tools.ui.dartEditorScope" keySequence="COMMAND+F3"/>
<keyBinding commandName="Paste" context="org.eclipse.ui.contexts.dialogAndWindow" keySequence="COMMAND+V"/>
<keyBinding commandName="Previous Editor" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+SHIFT+F6"/>
<keyBinding commandName="Previous Tab" context="org.eclipse.ui.textEditorScope" keySequence="CTRL+SHIFT+TAB"/>
<keyBinding commandName="Previous Word" context="org.eclipse.ui.textEditorScope" keySequence="ALT+ARROW_LEFT" />
<keyBinding commandName="Properties" context="org.eclipse.ui.contexts.window" keySequence="ALT+CR"/>
<keyBinding commandName="Properties" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+I" platform="cocoa"/>
<keyBinding commandName="Quick Fix" context="org.eclipse.ui.contexts.dialogAndWindow" keySequence="COMMAND+1"/>
<keyBinding commandName="Quick Hierarchy" context="com.google.dart.tools.ui.dartEditorScope" keySequence="COMMAND+T"/>
<keyBinding commandName="Quick Outline" context="com.google.dart.tools.ui.dartEditorScope" keySequence="ALT+O"/>
<keyBinding commandName="Quick Switch Editor" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+E"/>
<keyBinding commandName="Reanalyze Sources" context="org.eclipse.ui.contexts.window" keySequence="ALT+COMMAND+SHIFT+B"/>
<keyBinding commandName="Recenter" context="org.eclipse.ui.textEditorScope" keySequence="ALT+CTRL+SHIFT+R"/>
<keyBinding commandName="Redo" context="org.eclipse.ui.contexts.dialogAndWindow" keySequence="COMMAND+SHIFT+Z"/>
<keyBinding commandName="References in Workspace" context="com.google.dart.tools.ui.dartEditorScope" keySequence="COMMAND+SHIFT+U"/>
<keyBinding commandName="Rename" context="org.eclipse.wst.html.core.htmlsource" keySequence="ALT+COMMAND+R" />
<keyBinding commandName="Rename - Refactoring " context="org.eclipse.ui.contexts.window" keySequence="ALT+COMMAND+R" />
<keyBinding commandName="Restore Last Selection" context="com.google.dart.tools.ui.dartEditorScope" keySequence="ALT+CTRL+SHIFT+ARROW_DOWN" />
<keyBinding commandName="Resume" context="org.eclipse.debug.ui.debugging" keySequence="F8"/>
<keyBinding commandName="Run" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+R"/>
<keyBinding commandName="Run Script" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+SHIFT+F1"/>
<keyBinding commandName="Run Script" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+SHIFT+F2"/>
<keyBinding commandName="Run Script" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+SHIFT+F3"/>
<keyBinding commandName="Run Script" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+SHIFT+F4"/>
<keyBinding commandName="Run Script" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+SHIFT+F5"/>
<keyBinding commandName="Save" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+S"/>
<keyBinding commandName="Save All" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+SHIFT+S"/>
<keyBinding commandName="Scroll Line Down" context="org.eclipse.ui.textEditorScope" keySequence="CTRL+ARROW_DOWN"/>
<keyBinding commandName="Scroll Line Up" context="org.eclipse.ui.textEditorScope" keySequence="CTRL+ARROW_UP"/>
<keyBinding commandName="Search Box" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+3"/>
<keyBinding commandName="Select All" context="org.eclipse.ui.contexts.dialogAndWindow" keySequence="COMMAND+A"/>
<keyBinding commandName="Select Enclosing Element" context="com.google.dart.tools.ui.dartEditorScope" keySequence="ALT+CTRL+SHIFT+ARROW_UP" />
<keyBinding commandName="Select Line End" context="org.eclipse.ui.textEditorScope" keySequence="COMMAND+SHIFT+ARROW_RIGHT" />
<keyBinding commandName="Select Line Start" context="org.eclipse.ui.textEditorScope" keySequence="COMMAND+SHIFT+ARROW_LEFT" />
<keyBinding commandName="Select Next Element" context="com.google.dart.tools.ui.dartEditorScope" keySequence="CTRL+SHIFT+ARROW_RIGHT" />
<keyBinding commandName="Select Next Word" context="org.eclipse.ui.textEditorScope" keySequence="ALT+SHIFT+ARROW_RIGHT" />
<keyBinding commandName="Select Previous Element" context="com.google.dart.tools.ui.dartEditorScope" keySequence="CTRL+SHIFT+ARROW_LEFT" />
<keyBinding commandName="Select Previous Word" context="org.eclipse.ui.textEditorScope" keySequence="ALT+SHIFT+ARROW_LEFT" />
<keyBinding commandName="Select Text End" context="org.eclipse.ui.textEditorScope" keySequence="SHIFT+END" />
<keyBinding commandName="Select Text Start" context="org.eclipse.ui.textEditorScope" keySequence="SHIFT+HOME" />
<keyBinding commandName="Shift Left" context="org.eclipse.ui.textEditorScope" keySequence="ALT+CTRL+SHIFT+ARROW_LEFT"/>
<keyBinding commandName="Shift Right" context="org.eclipse.ui.textEditorScope" keySequence="ALT+CTRL+SHIFT+ARROW_RIGHT"/>
<keyBinding commandName="Show Key Assist" context="org.eclipse.ui.contexts.dialogAndWindow" keySequence="COMMAND+SHIFT+L"/>
<keyBinding commandName="Show Ruler Context Menu" context="org.eclipse.ui.textEditorScope" keySequence="COMMAND+F10"/>
<keyBinding commandName="Show in Finder" context="org.eclipse.ui.contexts.window" keySequence="ALT+COMMAND+SHIFT+F"/>
<keyBinding commandName="Step Into" context="org.eclipse.debug.ui.debugging" keySequence="F5"/>
<keyBinding commandName="Step Over" context="org.eclipse.debug.ui.debugging" keySequence="F6"/>
<keyBinding commandName="Step Return" context="org.eclipse.debug.ui.debugging" keySequence="F7"/>
<keyBinding commandName="Terminate" context="org.eclipse.debug.ui.debugging" keySequence="COMMAND+F2"/>
<keyBinding commandName="Text End" context="org.eclipse.ui.textEditorScope" keySequence="END" />
<keyBinding commandName="Text Start" context="org.eclipse.ui.textEditorScope" keySequence="HOME" />
<keyBinding commandName="To Lower Case" context="org.eclipse.ui.textEditorScope" keySequence="COMMAND+SHIFT+Y"/>
<keyBinding commandName="To Upper Case" context="org.eclipse.ui.textEditorScope" keySequence="COMMAND+SHIFT+X"/>
<keyBinding commandName="Toggle Breakpoint" context="org.eclipse.ui.contexts.window" keySequence="COMMAND+SHIFT+B"/>
<keyBinding commandName="Toggle Comment" context="com.google.dart.tools.ui.dartEditorScope" keySequence="COMMAND+7"/>
<keyBinding commandName="Toggle Overwrite" context="org.eclipse.ui.textEditorScope" keySequence="INSERT"/>
<keyBinding commandName="Undo" context="org.eclipse.ui.contexts.dialogAndWindow" keySequence="COMMAND+Z"/>
</dartKeyBindings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment