Skip to content

Instantly share code, notes, and snippets.

@SpringMT
Forked from fxn/gist:5404357
Last active August 29, 2015 14:12
Show Gist options
  • Save SpringMT/9893a73e643da067b47d to your computer and use it in GitHub Desktop.
Save SpringMT/9893a73e643da067b47d to your computer and use it in GitHub Desktop.
# Custom Keymap for RubyMine (by fxn)
The keymap I work with, inspired by my past Emacs years, these are configurable
in Preferences -> Keymap.
Most of these have no conflict with the existing shortcuts, I use the default
keymap for Mac OS X and add these ones (an action can have several shortcuts).
To configure two strokes enter the first one in the main textfield (eg, C-g),
check "Second Stroke" and the second one there (eg, c).
## Editor
C-d Editor Actions | Delete
C-b Editor Actions | Left
C-f Editor Actions | Right
C-a Editor Actions | Move Caret to Line Start
C-e Editor Actions | Move Caret to Line End
C-n Editor Actions | Down
C-p Editor Actions | Up
C-v Editor Actions | Page Down
C-q Editor Actions | Fill Paragraph
## Ruby on Rails
C-r s Other | Run context configuration
C-r r Main Menu | Run
C-r . Main Menu | Run | Run...
C-r d Main Menu | Debug
C-r k Main Menu | Tools | Run Rake Task...
C-r b Main Menu | Tools | Bundler | Install
C-r i Main Menu | Tools | Run IRB Console...
C-r c Main Menu | Tools | Run Rails Console...
## Git
C-g c Main Menu | VCS | Check In Project
C-g p Main Menu | VCS | Git | Push...
C-g u Main Menu | VCS | Update Project
C-g r Main Menu | VCS | Revert...
C-g b Main Menu | VCS | Git | Annotate
C-g h Main Menu | VCS | Git | Show History
C-g s Main Menu | VCS | Git | Show History for Selection
## Layout
C-x 2 Main Menu | Window | Editor Tabs | Split Horizontally
C-x 3 Main Menu | Window | Editor Tabs | Split Vertically
C-x 1 Main Menu | Window | Editor Tabs | Unsplit All
C-x o Main Menu | Window | Editor Tabs | Goto Next Splitter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment