Get it on your desk →The most used RubyMine shortcuts on Mac: Find Action (⇧⌘A), Recent files (⌘E), Line comment (⌘/), Context actions / quick-fix (⌥↩), Go to declaration or usages (⌘B). This page lists all 48, from the official documentation.
48 RubyMine keyboard shortcuts for Mac, grouped into Search & general, Editing, Code assistance, Navigation, Refactor, run & debug, VCS & tool windows. Every key is copied from www.jetbrains.com (retrieved November 19, 2026) and shown on a real keyboard layout.
On Mac, 30 of these 48 shortcuts are the Windows ones with ⌘ in place of Ctrl; 18 are different, for example Settings (⌘,; Windows: Ctrl+Alt+S), Go to file (⇧⌘O; Windows: Ctrl+Shift+N), Delete line (⌘⌫; Windows: Ctrl+Y).

RubyMine keyboard map
Pick your keyboard and a modifier. Keys with a shortcut light up; point at or tap a key to see everything on it. Try it: hold ⌘ Cmd on your keyboard
More shortcuts on this key with other modifiers.
With ⌘19 keys
All RubyMine keyboard shortcuts for Mac
No shortcut matches that search.
Search & general8
| Command | Shortcut |
|---|---|
| Find Action | ⇧⌘A |
| Settings | ⌘, |
| Find in file | ⌘F |
| Replace in file | ⌘R |
| Find in files | ⇧⌘F |
| Go to file | ⇧⌘O |
| Recent files | ⌘E |
| File structure | ⌘F12 |
Editing12
| Command | Shortcut |
|---|---|
| Undo | ⌘Z |
| Redo | ⇧⌘Z |
| Save all | ⌘S |
| Duplicate line or selection | ⌘D |
| Delete line | ⌘⌫ |
| Move line up | ⌥⇧↑ |
| Move line down | ⌥⇧↓ |
| Line comment | ⌘/ |
| Block comment | ⌥⌘/ |
| Extend selection | ⌥↑ |
| Shrink selection | ⌥↓ |
| Add next occurrence to selection | ⌃G |
Code assistance7
| Command | Shortcut |
|---|---|
| Context actions / quick-fix | ⌥↩ |
| Basic completion | ⌃Space |
| Complete current statement | ⇧⌘↩ |
| Reformat code | ⌥⌘L |
| Parameter info | ⌘P |
| Quick documentation | F1 |
| Generate code | ⌘N |
Navigation8
| Command | Shortcut |
|---|---|
| Go to declaration or usages | ⌘B |
| Go to implementation | ⌥⌘B |
| Find usages | ⌥F7 |
| Navigate back | ⌘[ |
| Navigate forward | ⌘] |
| Go to line | ⌘L |
| Next highlighted error | F2 |
| Last edit location | ⇧⌘⌫ |
Refactor, run & debug8
| Command | Shortcut |
|---|---|
| Refactor this | ⌃T |
| Rename | ⇧F6 |
| Extract method | ⌥⌘M |
| Run | ⌃R |
| Debug | ⌃D |
| Step over | F8 |
| Step into | F7 |
| Toggle line breakpoint | ⌘F8 |
VCS & tool windows5
| Command | Shortcut |
|---|---|
| Commit | ⌘K |
| Push | ⇧⌘K |
| VCS operations popup | ⌃V |
| Project tool window | ⌘1 |
| Terminal tool window | ⌥F12 |
Source: JetBrains · www.jetbrains.com · retrieved . Unofficial reference. Not affiliated with JetBrains. How we source shortcuts →
Free printable RubyMine cheat sheet
The essential shortcuts on one page (PDF, 24 × 20 cm), for your keyboard and language.
RubyMine shortcut questions
- What is the shortcut for “Find Action” in RubyMine on Mac?
- Press ⇧⌘A. That is the shortcut for “Find Action” in RubyMine on Mac, as given in the official documentation.
- What is the shortcut for “Recent files” in RubyMine on Mac?
- Press ⌘E. That is the shortcut for “Recent files” in RubyMine on Mac, as given in the official documentation.
- What is the shortcut for “Line comment” in RubyMine on Mac?
- Press ⌘/. That is the shortcut for “Line comment” in RubyMine on Mac, as given in the official documentation.
- Where do these RubyMine shortcuts come from?
- From JetBrains’s official documentation at www.jetbrains.com, retrieved November 19, 2026. Every key is copied from there, never from other websites.