Show Menu
Cheatography

RubyMine OS X Keyboard Shortcuts (DRAFT) by

Keyboard Shortcuts for JetBrains's RubyMine IDE on Mac OS X

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Shortcuts

Delete line
Cmd+Ba­ckspace
Duplicate line
Cmd+D
Move up
Alt+Sh­ift+Up
Move down
Alt+Sh­ift­+Down
Rename
Shift+F6
Evaluate expression
Alt+F8
Recent files
Cmd+E
Pin active tab
Ctrl+"+­"
Close unpinned tabs
Ctrl+A­lt+­"­-"
Refactor
Ctrl+T

File Manipu­lation

Duplicate file
F5

Code Folding

Collapse all
Cmd+Sh­ift­+"-"
Expand all
Cmd+Sh­ift­+"+"
Collapse current
Cmd+"-"
Expand current
Cmd+"+"
Collapse recurs­ively
Cmd+Al­t+"-­"
Expand recurs­ively
Cmd+Al­t+"+­"

Plugins

Key Promoter - shows text you could have used
String Manipu­lation - actions for toCame­lCase, toSnak­eCase

Notes

RubyMine Produc­tivity Presentation
means RealSc­out­-added shortcut
means Pivotal IDE Prefs-­added shortcut

⌘: Cmd
^: Ctrl
⇧: Shift
⌥: Alt / Option
 

Code Navigation

Class
Cmd+O
Symbol
Cmd+Alt+O
File
Cmd+Sh­ift+O
Search Everywhere
Shift+­Shift
Line
Cmd+L
Go to method
Cmd+F12
Go to declar­ation
Cmd+B
Go to declar­ation (preview)
Cmd+Y
View subclasses
Cmd+Alt+B

Window Navigation

Toggle Project
Cmd+1
Toggle Structure
Cmd+7
Next tab (*)
Cmd+Sh­ift+] OR Ctrl+Right
Previous tab (*)
Cmd+Sh­ift+[ OR Ctrl+Left
Split horiz
Cmd+Ct­rl+­Shi­ft+­Alt­+Down
Split vertical
Cmd+Ct­rl+­Shi­ft+­Alt+Up
Next split
Option+Tab
Previous split
Option­+Sh­ift+Tab
Close all splits
Option­+Sh­ift+X
Move to opposite group
Cmd+Ct­rl+­Shi­ft+­Alt­+Le­ft/­Right
(*) To enable next/p­revious tab on OS X, go to System Prefer­ences > Keyboard > Shortcuts and disable them for Mission Control. Reboot and your changes should take effect.