Skip to content

Instantly share code, notes, and snippets.

@harlantwood
Created November 8, 2010 05:00
Show Gist options
  • Save harlantwood/667399 to your computer and use it in GitHub Desktop.
Save harlantwood/667399 to your computer and use it in GitHub Desktop.

Link the project keymap to the RubyMine dir

# if you have no keymaps already:
rm -rf ~/Library/Preferences/RubyMine[RUBYMINE_VERSION]/keymaps   
ln -s ~/tools/rubymine_keymaps ~/Library/Preferences/RubyMine[RUBYMINE_VERSION]/
<?xml version="1.0" encoding="UTF-8"?>
<keymap version="1" name="zozi" parent="$default">
<action id="$Copy">
<keyboard-shortcut first-keystroke="control C" />
<keyboard-shortcut first-keystroke="control INSERT" />
<keyboard-shortcut first-keystroke="meta C" />
</action>
<action id="$Cut">
<keyboard-shortcut first-keystroke="control X" />
<keyboard-shortcut first-keystroke="shift DELETE" />
<keyboard-shortcut first-keystroke="meta X" />
</action>
<action id="$Paste">
<keyboard-shortcut first-keystroke="control V" />
<keyboard-shortcut first-keystroke="shift INSERT" />
<keyboard-shortcut first-keystroke="meta V" />
</action>
<action id="$Redo">
<keyboard-shortcut first-keystroke="shift control Z" />
<keyboard-shortcut first-keystroke="shift alt BACK_SPACE" />
<keyboard-shortcut first-keystroke="shift meta Z" />
</action>
<action id="$SelectAll">
<keyboard-shortcut first-keystroke="control A" />
<keyboard-shortcut first-keystroke="meta A" />
</action>
<action id="$Undo">
<keyboard-shortcut first-keystroke="control Z" />
<keyboard-shortcut first-keystroke="alt BACK_SPACE" />
<keyboard-shortcut first-keystroke="meta Z" />
</action>
<action id="CheckinProject">
<keyboard-shortcut first-keystroke="control K" />
<keyboard-shortcut first-keystroke="meta K" />
</action>
<action id="CloseActiveTab" />
<action id="CloseAllEditors">
<keyboard-shortcut first-keystroke="meta alt W" />
<keyboard-shortcut first-keystroke="control alt F4" />
</action>
<action id="CloseAllEditorsButActive">
<keyboard-shortcut first-keystroke="shift control F4" />
<keyboard-shortcut first-keystroke="shift meta W" />
</action>
<action id="CloseEditor">
<keyboard-shortcut first-keystroke="control F4" />
<keyboard-shortcut first-keystroke="meta W" />
</action>
<action id="CodeCompletion">
<keyboard-shortcut first-keystroke="control SPACE" />
<keyboard-shortcut first-keystroke="shift alt SPACE" />
</action>
<action id="CommentByLineComment">
<keyboard-shortcut first-keystroke="control SLASH" />
<keyboard-shortcut first-keystroke="control DIVIDE" />
<keyboard-shortcut first-keystroke="meta SLASH" />
</action>
<action id="CopyPaths">
<keyboard-shortcut first-keystroke="shift control C" />
<keyboard-shortcut first-keystroke="shift meta C" />
</action>
<action id="Diff.NextChange">
<keyboard-shortcut first-keystroke="shift meta CLOSE_BRACKET" />
<keyboard-shortcut first-keystroke="meta alt RIGHT" />
</action>
<action id="Diff.PrevChange">
<keyboard-shortcut first-keystroke="shift meta OPEN_BRACKET" />
<keyboard-shortcut first-keystroke="meta alt LEFT" />
</action>
<action id="Editor Copy">
<keyboard-shortcut first-keystroke="meta C" />
</action>
<action id="Editor Cut">
<keyboard-shortcut first-keystroke="meta X" />
</action>
<action id="Editor Paste">
<keyboard-shortcut first-keystroke="meta V" />
</action>
<action id="Editor Redo">
<keyboard-shortcut first-keystroke="shift meta Z" />
</action>
<action id="Editor SelectAll">
<keyboard-shortcut first-keystroke="meta A" />
</action>
<action id="Editor Undo">
<keyboard-shortcut first-keystroke="meta Z" />
</action>
<action id="EditorDeleteLine">
<keyboard-shortcut first-keystroke="control Y" />
<keyboard-shortcut first-keystroke="meta Y" />
</action>
<action id="EditorDeleteToWordStart">
<keyboard-shortcut first-keystroke="control BACK_SPACE" />
<keyboard-shortcut first-keystroke="meta BACK_SPACE" />
</action>
<action id="EditorDuplicate">
<keyboard-shortcut first-keystroke="control D" />
<keyboard-shortcut first-keystroke="meta D" />
</action>
<action id="EditorLineEnd">
<keyboard-shortcut first-keystroke="END" />
<keyboard-shortcut first-keystroke="meta RIGHT" />
</action>
<action id="EditorLineEndWithSelection">
<keyboard-shortcut first-keystroke="shift END" />
<keyboard-shortcut first-keystroke="shift meta RIGHT" />
</action>
<action id="EditorLineStart">
<keyboard-shortcut first-keystroke="HOME" />
<keyboard-shortcut first-keystroke="meta LEFT" />
</action>
<action id="EditorLineStartWithSelection">
<keyboard-shortcut first-keystroke="shift HOME" />
<keyboard-shortcut first-keystroke="shift meta LEFT" />
</action>
<action id="EditorNextWord">
<keyboard-shortcut first-keystroke="control RIGHT" />
<keyboard-shortcut first-keystroke="alt RIGHT" />
</action>
<action id="EditorNextWordWithSelection">
<keyboard-shortcut first-keystroke="shift control RIGHT" />
<keyboard-shortcut first-keystroke="shift alt RIGHT" />
</action>
<action id="EditorPreviousWord">
<keyboard-shortcut first-keystroke="control LEFT" />
<keyboard-shortcut first-keystroke="alt LEFT" />
</action>
<action id="EditorPreviousWordWithSelection">
<keyboard-shortcut first-keystroke="shift control LEFT" />
<keyboard-shortcut first-keystroke="shift alt LEFT" />
</action>
<action id="EditorTextEnd">
<keyboard-shortcut first-keystroke="control END" />
<keyboard-shortcut first-keystroke="meta DOWN" />
</action>
<action id="EditorTextStart">
<keyboard-shortcut first-keystroke="control HOME" />
<keyboard-shortcut first-keystroke="meta UP" />
</action>
<action id="EditorToggleColumnMode">
<keyboard-shortcut first-keystroke="shift meta F8" />
<keyboard-shortcut first-keystroke="shift meta MULTIPLY" />
</action>
<action id="FileStructurePopup" />
<action id="Find">
<keyboard-shortcut first-keystroke="control F" />
<keyboard-shortcut first-keystroke="meta F" />
</action>
<action id="FindInPath">
<keyboard-shortcut first-keystroke="shift control F" />
<keyboard-shortcut first-keystroke="shift meta F" />
</action>
<action id="FindNext">
<keyboard-shortcut first-keystroke="F3" />
<keyboard-shortcut first-keystroke="control L" />
<keyboard-shortcut first-keystroke="meta G" />
</action>
<action id="FindPrevious">
<keyboard-shortcut first-keystroke="shift F3" />
<keyboard-shortcut first-keystroke="shift control L" />
<keyboard-shortcut first-keystroke="shift meta G" />
</action>
<action id="GotoAction">
<keyboard-shortcut first-keystroke="shift control A" />
<keyboard-shortcut first-keystroke="shift meta A" />
</action>
<action id="GotoClass" />
<action id="GotoFile">
<keyboard-shortcut first-keystroke="shift control N" />
<keyboard-shortcut first-keystroke="shift meta N" />
</action>
<action id="GotoSymbol">
<keyboard-shortcut first-keystroke="shift control alt N" />
<keyboard-shortcut first-keystroke="control N" />
</action>
<action id="GotoTest">
<keyboard-shortcut first-keystroke="shift control T" />
<keyboard-shortcut first-keystroke="shift meta T" />
</action>
<action id="HighlightUsagesInFile">
<keyboard-shortcut first-keystroke="shift control F7" />
<keyboard-shortcut first-keystroke="shift meta F7" />
</action>
<action id="Images.EditExternaly">
<keyboard-shortcut first-keystroke="meta O" />
</action>
<action id="NextEditorTab" />
<action id="NextTab">
<keyboard-shortcut first-keystroke="shift meta CLOSE_BRACKET" />
<keyboard-shortcut first-keystroke="meta alt RIGHT" />
</action>
<action id="PasteMultiple">
<keyboard-shortcut first-keystroke="shift control V" />
<keyboard-shortcut first-keystroke="shift control INSERT" />
<keyboard-shortcut first-keystroke="shift meta V" />
</action>
<action id="PlaybackLastMacro">
<keyboard-shortcut first-keystroke="control F12" />
</action>
<action id="PreviousEditorTab" />
<action id="PreviousTab">
<keyboard-shortcut first-keystroke="shift meta OPEN_BRACKET" />
<keyboard-shortcut first-keystroke="meta alt LEFT" />
</action>
<action id="RecentFiles">
<keyboard-shortcut first-keystroke="control E" />
<keyboard-shortcut first-keystroke="meta E" />
</action>
<action id="ReformatCode">
<keyboard-shortcut first-keystroke="control alt L" />
<keyboard-shortcut first-keystroke="meta alt L" />
</action>
<action id="Replace">
<keyboard-shortcut first-keystroke="control R" />
<keyboard-shortcut first-keystroke="meta R" />
</action>
<action id="ReplaceInPath">
<keyboard-shortcut first-keystroke="shift control R" />
<keyboard-shortcut first-keystroke="shift meta R" />
</action>
<action id="StartStopMacroRecording">
<keyboard-shortcut first-keystroke="shift alt F12" />
</action>
<action id="Subversion.Add">
<keyboard-shortcut first-keystroke="shift alt A" />
</action>
<action id="TestGestureAction" />
<action id="ToggleBookmark" />
<action id="ToggleFullScreenMode" />
<action id="Tool_tests_Ruby">
<keyboard-shortcut first-keystroke="alt F11" />
<keyboard-shortcut first-keystroke="meta F11" />
</action>
<action id="Tool_tests_Run Focused Unit Test">
<keyboard-shortcut first-keystroke="F11" />
<keyboard-shortcut first-keystroke="control F10" />
</action>
<action id="Tool_tests_ruby test suite">
<keyboard-shortcut first-keystroke="control alt F11" />
</action>
<action id="Tool_tests_selenium test suite">
<keyboard-shortcut first-keystroke="shift control alt F11" />
</action>
<action id="Unscramble">
<keyboard-shortcut first-keystroke="meta alt A" />
</action>
<action id="Vcs.ShowTabbedFileHistory">
<keyboard-shortcut first-keystroke="shift alt H" />
</action>
<action id="Vcs.UpdateProject">
<keyboard-shortcut first-keystroke="control T" />
<keyboard-shortcut first-keystroke="meta T" />
</action>
</keymap>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment