Skip to content

Instantly share code, notes, and snippets.

@sumio
Created November 29, 2015 15:58
Show Gist options
  • Save sumio/f690e82857bcda8aac25 to your computer and use it in GitHub Desktop.
Save sumio/f690e82857bcda8aac25 to your computer and use it in GitHub Desktop.
Android Studioで使っているkeymapファイル。EmacsとEclipseを適当に混ぜたもの。
<?xml version="1.0" encoding="UTF-8"?>
<keymap version="1" name="My Emacs" parent="Emacs">
<action id="$Copy">
<keyboard-shortcut first-keystroke="alt C" />
<keyboard-shortcut first-keystroke="ESCAPE" second-keystroke="W" />
<keyboard-shortcut first-keystroke="meta W" />
</action>
<action id="Back">
<keyboard-shortcut first-keystroke="control alt LEFT" />
<mouse-shortcut keystroke="button4" />
<keyboard-shortcut first-keystroke="meta LEFT" />
</action>
<action id="CodeCompletion">
<keyboard-shortcut first-keystroke="meta SLASH" />
</action>
<action id="Editor Copy">
<keyboard-shortcut first-keystroke="meta W" />
</action>
<action id="EditorBackSpace">
<keyboard-shortcut first-keystroke="BACK_SPACE" />
<keyboard-shortcut first-keystroke="control H" />
</action>
<action id="EditorCompleteStatement">
<keyboard-shortcut first-keystroke="shift control ENTER" />
<keyboard-shortcut first-keystroke="meta ENTER" />
</action>
<action id="EditorDeleteToWordStart">
<keyboard-shortcut first-keystroke="control BACK_SPACE" />
<keyboard-shortcut first-keystroke="ESCAPE" second-keystroke="BACK_SPACE" />
<keyboard-shortcut first-keystroke="meta BACK_SPACE" />
</action>
<action id="EditorMatchBrace">
<keyboard-shortcut first-keystroke="shift control meta F" />
<keyboard-shortcut first-keystroke="shift control meta B" />
</action>
<action id="EditorSelectWord">
<keyboard-shortcut first-keystroke="shift meta UP" />
</action>
<action id="EditorUnSelectWord">
<keyboard-shortcut first-keystroke="shift meta DOWN" />
</action>
<action id="FindInPath" />
<action id="FindUsagesInFile" />
<action id="Forward">
<keyboard-shortcut first-keystroke="control alt RIGHT" />
<mouse-shortcut keystroke="button5" />
<keyboard-shortcut first-keystroke="meta RIGHT" />
</action>
<action id="Generate">
<keyboard-shortcut first-keystroke="meta alt N" />
</action>
<action id="GotoDeclaration">
<keyboard-shortcut first-keystroke="control alt G" />
<mouse-shortcut keystroke="meta button1" />
<keyboard-shortcut first-keystroke="meta PERIOD" />
</action>
<action id="GotoNextError">
<keyboard-shortcut first-keystroke="F2" />
<keyboard-shortcut first-keystroke="control X" second-keystroke="BACK_QUOTE" />
<keyboard-shortcut first-keystroke="alt PERIOD" />
</action>
<action id="GotoPreviousError">
<keyboard-shortcut first-keystroke="shift F2" />
<keyboard-shortcut first-keystroke="shift control X" second-keystroke="BACK_QUOTE" />
<keyboard-shortcut first-keystroke="alt COMMA" />
</action>
<action id="HighlightUsagesInFile">
<keyboard-shortcut first-keystroke="control F7" />
</action>
<action id="HippieBackwardCompletion">
<keyboard-shortcut first-keystroke="shift meta SLASH" />
</action>
<action id="HippieCompletion">
<keyboard-shortcut first-keystroke="meta SLASH" />
</action>
<action id="InsertLiveTemplate" />
<action id="IntroduceField">
<keyboard-shortcut first-keystroke="meta 2" second-keystroke="F" />
</action>
<action id="IntroduceVariable">
<keyboard-shortcut first-keystroke="control alt V" />
<keyboard-shortcut first-keystroke="meta 2" second-keystroke="L" />
</action>
<action id="NewElement">
<keyboard-shortcut first-keystroke="meta alt N" />
</action>
<action id="QuickEvaluateExpression">
<keyboard-shortcut first-keystroke="control alt F8" />
</action>
<action id="ReformatCode">
<keyboard-shortcut first-keystroke="shift control F" />
</action>
<action id="RenameElement">
<keyboard-shortcut first-keystroke="meta alt R" />
</action>
<action id="Replace">
<keyboard-shortcut first-keystroke="shift alt 5" />
<keyboard-shortcut first-keystroke="shift meta 5" />
</action>
<action id="SearchEverywhere">
<keyboard-shortcut first-keystroke="shift control Q" />
</action>
<action id="ShowIntentionActions">
<keyboard-shortcut first-keystroke="meta 1" />
</action>
<action id="ShowUsages">
<keyboard-shortcut first-keystroke="control alt F7" />
<keyboard-shortcut first-keystroke="shift meta U" />
</action>
<action id="SmartTypeCompletion">
<keyboard-shortcut first-keystroke="meta alt SLASH" />
</action>
<action id="SwitchApply">
<keyboard-shortcut first-keystroke="control alt ENTER" />
</action>
<action id="SwitchDown">
<keyboard-shortcut first-keystroke="control alt DOWN" />
</action>
<action id="SwitchLeft">
<keyboard-shortcut first-keystroke="control alt LEFT" />
</action>
<action id="SwitchRight">
<keyboard-shortcut first-keystroke="control alt RIGHT" />
</action>
<action id="SwitchUp">
<keyboard-shortcut first-keystroke="control alt UP" />
</action>
<action id="TogglePresentationMode">
<keyboard-shortcut first-keystroke="shift control P" />
</action>
<action id="TypeHierarchy">
<keyboard-shortcut first-keystroke="control meta H" />
</action>
<action id="Unwrap">
<keyboard-shortcut first-keystroke="shift BACK_SPACE" />
</action>
</keymap>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment