This page is a complete keyboard shortcut reference for RubyMine on macOS, covering all 48 shortcuts organized into 6 sections. Whether you’re new to RubyMine or looking to master advanced features, this cheat sheet has every key combination you need — from basic editing and navigation to app-specific power-user actions.
Keyboard shortcuts are the fastest way to work in RubyMine. Every time you use a shortcut instead of reaching for the mouse, you save a few seconds — and those seconds compound into hours over weeks and months. Start with the shortcuts you use most (copy, paste, undo, save), then gradually add app-specific ones as they become relevant to your workflow. Bookmark this page or download the PDF cheat sheet for quick reference.
Using keyboard shortcuts in RubyMine reduces context switching between keyboard and mouse, helping you maintain focus and work more efficiently. Research shows that shortcut-driven workflows can save up to 8 working days per year compared to menu-driven navigation. On macOS, most RubyMine shortcuts follow standard conventions — once you learn the modifier key patterns, new shortcuts become intuitive.
Tips for Learning Shortcuts
- Practice one new RubyMine shortcut each day. Muscle memory builds faster when you focus on a single combination at a time rather than trying to learn them all at once.
- Print or bookmark this page for quick reference while working in RubyMine. Having shortcuts visible nearby helps bridge the gap between looking them up and recalling them from memory.
- Start with the shortcuts you use most. In RubyMine, common actions like copy, paste, undo, and save are worth learning first since they apply across nearly every workflow.
Editing12
| Action | Shortcut |
|---|---|
| Duplicate Line | ⌘D |
| Delete Line | ⌘Delete |
| Complete Statement | ⇧⌘↩ |
| Line Comment | ⌘/ |
| Block Comment | ⌥⌘/ |
| Extend Selection | ⌥↑ |
| Shrink Selection | ⌥↓ |
| Context Actions | ⌥↩ |
| Reformat Code | ⌥⌘L |
| Code Completion | ⌃Space |
| Generate | ⌘N |
| Parameter Info | ⌘P |
Find & Replace4
| Action | Shortcut |
|---|---|
| Find | ⌘F |
| Replace | ⌘R |
| Find In Path | ⇧⌘F |
| Replace In Path | ⇧⌘R |
Run & Debug7
| Action | Shortcut |
|---|---|
| Run | ⌃R |
| Debug | ⌃D |
| Step Over | F8 |
| Step Into | F7 |
| Step Out | ⇧F8 |
| Toggle Breakpoint | ⌘F8 |
| Evaluate Expression | ⌥F8 |
Refactoring & VCS6
| Action | Shortcut |
|---|---|
| Refactor This | ⌃T |
| Rename | ⇧F6 |
| Extract Variable | ⌥⌘V |
| Extract Method | ⌥⌘M |
| Commit | ⌘K |
| Vcs Operations | ⌃V |
Tool Windows7
| Action | Shortcut |
|---|---|
| Project Window | ⌘1 |
| Run Window | ⌘4 |
| Debug Window | ⌘5 |
| Structure Window | ⌘7 |
| Vcs Window | ⌘9 |
| Terminal | ⌥F12 |
| Settings | ⌘, |
Frequently Asked Questions
Access RubyMine shortcuts from your menu bar
KeyShortcut detects the active app and shows its shortcuts instantly. No memorization needed.