Skip to content
RubyMine icon

RubyMine shortcuts for Mac

132 shortcuts · 12 categories

RubyMine is an integrated development environment (IDE) specifically designed for Ruby development that offers features such as code completion, refactoring, and debugging support. Download RubyMine

Use these RubyMine shortcuts from a pie menu

Access your favorite RubyMine shortcuts instantly with Pie Menu. No more memorizing—just point and click.

Pie Menu with shortcuts
Hover a shortcut to add it to Pie Menu

Mac keyboard shortcuts for RubyMine

VCS / Local History

  • VCS operations popup⌃ (control) + v Add →
  • View Diff⌘ (command) + d Add →
  • View recent changes⌥ (option) + ⇧ (shift) + c Add →
  • Update project from VCS⌘ (command) + t Add →
  • Commit project to VCS⌘ (command) + k Add →

Search / Replace

  • Replace in path⇧ (shift) + ⌘ (command) + r Add →
  • Find in path⇧ (shift) + ⌘ (command) + f Add →
  • Find previous⇧ (shift) + ⌘ (command) + g Add →
  • Find next⌘ (command) + g Add →
  • Replace⌘ (command) + r Add →
  • Find⌘ (command) + f Add →
  • Search everywhereshift  shift Add →

Carets and Selections

  • Unselect all occurrences or caretsesc Add →
  • Unselect occurrence⌃ (control) + ⇧ (shift) + g Add →
  • Select all occurrences / Select next occurrence⌃ (control) + ⌘ (command) + g Add →

Refactoring

  • Refactor this... quick list⌃ (control) + t Add →
  • Inline⌥ (option) + ⌘ (command) + n Add →
  • Extract Parameter⌥ (option) + ⌘ (command) + p Add →
  • Extract Method⌥ (option) + ⌘ (command) + m Add →
  • Extract Field⌥ (option) + ⌘ (command) + f Add →
  • Extract Constant⌥ (option) + ⌘ (command) + c Add →
  • Extract Variable⌥ (option) + ⌘ (command) + v Add →
  • Rename⇧ (shift) + f6 Add →
  • Movef6 Add →
  • Copyf5 Add →

Live Templates

  • Insert Live Template⌘ (command) + j Add →
  • Surround with Live Template⌥ (option) + ⌘ (command) + j Add →

Running and Debugging

  • Debug anythingcontrol  control  + ⇧ (shift)Add →
  • Show execution point⌥ (option) + f10 Add →
  • View breakpoints⇧ (shift) + ⌘ (command) + f8 Add →
  • Toggle breakpoint⌘ (command) + f8 Add →
  • Evaluate / Quick evaluate expression⌥ (option) + f8 Add →
  • Resume program⌥ (option) + ⌘ (command) + r Add →
  • Run to cursor⌥ (option) + f9 Add →
  • Step out⇧ (shift) + f8 Add →
  • Step intof7 Add →
  • Step overf8 Add →
  • Run rake task⌥ (option) + r Add →
  • Run or debug context configuration from editor⌃ (control) + ⇧ (shift) + r Add →
  • Debug⌃ (control) + d Add →
  • Run⌃ (control) + r Add →
  • Open debug configurations dropdown⌃ (control) + ⌥ (option) + d Add →
  • Open run configurations dropdown⌃ (control) + ⌥ (option) + r Add →
  • Run Anythingcontrol  control Add →

Rails

  • Reload application sources in Rails Console⌘ (command) + r Add →
  • Run Rails generator⌥ (option) + ⌘ (command) + g Add →
  • Insert <%= %> in RHTML⇧ (shift) + ⌘ (command) + . Add →
  • Preview Rails View in browser⌥ (option) + f2 Add →
  • Navigate to Rails model/view/controller etc.⌘ (command) + ↑ Add →

Navigation

  • Diagram popup⌥ (option) + ⌘ (command) + u Add →
  • Show diagram⌥ (option) + ⇧ (shift) + ⌘ (command) + u Add →
  • Show bookmarks⌘ (command) + f3 Add →
  • Go to numbered bookmark⌃ (control) + 0 Add →
  • Toggle bookmark / with mnemonicf3 Add →
  • Show navigation bar⌘ (command) + ↑ Add →
  • Go to sourcef4 Add →
  • Previous highlighted error⇧ (shift) + f2 Add →
  • Next highlighted errorf2 Add →
  • Type hierarchy⌃ (control) + h Add →
  • File structure popup⌘ (command) + f12 Add →
  • Move to code block end/start⌥ (option) + ⌘ (command) + ] Add →
  • Go to previous/next method⌃ (control) + ↑ Add →
  • Go to super-method/super-class⌘ (command) + u Add →
  • Quick definition lookup⌥ (option) + space Add →
  • Go to type declaration⌃ (control) + ⇧ (shift) + b Add →
  • Go to declaration⌘ (command) + b Add →
  • Select current file or symbol in any view⌥ (option) + f1 Add →
  • Navigate to last edit location⇧ (shift) + ⌘ (command) + ⌫ Add →
  • Navigate back or forward⌥ (option) + ⌘ (command) + ← Add →
  • Recent files popup⌘ (command) + e Add →
  • Go to bottom or top of page⌘ (command) + pageup Add →
  • Go to line⌘ (command) + l Add →
  • Go to next or previous editor tab⇧ (shift) + ⌘ (command) + ] Add →
  • Go to symbol⌥ (option) + ⌘ (command) + o Add →
  • Go to file⇧ (shift) + ⌘ (command) + o Add →
  • Go to class⌘ (command) + o Add →

Show Tool Windows

  • Show Terminal window⌥ (option) + f12 Add →
  • Show Commit window⌘ (command) + 0 Add →
  • Show Version Control window⌘ (command) + 9 Add →
  • Show Services window⌘ (command) + 8 Add →
  • Show Structure window⌘ (command) + 7 Add →
  • Show Problems window⌘ (command) + 6 Add →
  • Show Debug window⌘ (command) + 5 Add →
  • Show Run window⌘ (command) + 4 Add →
  • Show Find window⌘ (command) + 3 Add →
  • Show Favorites window⌘ (command) + 2 Add →
  • Show Project window⌘ (command) + 1 Add →

General

  • Quick switch current scheme⌃ (control) + ´ Add →
  • Switch between tabs and tool window⌃ (control) + ⇥ Add →
  • Close active editor tab⌘ (command) + w Add →
  • Hide active or last active window⇧ (shift) + esc Add →
  • Go back to previous tool windowesc Add →
  • Inspect current file with current profile⌥ (option) + ⇧ (shift) + i Add →
  • Add to Favorites⌥ (option) + ⇧ (shift) + f Add →
  • Toggle maximizing editor⇧ (shift) + ⌘ (command) + f12 Add →
  • Synchronize⌥ (option) + ⌘ (command) + y Add →
  • Search everywhereshift  shift Add →
  • Find any action⇧ (shift) + ⌘ (command) + a Add →

Editing

  • Perform string interpolation on selection⇧ (shift) + 3 Add →
  • Move line (selection) up or down⌥ (option) + ⇧ (shift) + ↑ Add →
  • Collapse all⇧ (shift) + ⌘ (command) + - Add →
  • Expand all⇧ (shift) + ⌘ (command) + + Add →
  • Collapse code block⌘ (command) + – Add →
  • Expand code block⌘ (command) + + Add →
  • Delete to word start⌥ (option) + ⌫ Add →
  • Delete to word end⌥ (option) + ⌫ Add →
  • Select till code block end/start⌥ (option) + ⇧ (shift) + ⌘ (command) + ] Add →
  • Toggle Camel/Snake Case⌥ (option) + ⇧ (shift) + u Add →
  • Toggle case for word at caret or selected block⇧ (shift) + ⌘ (command) + u Add →
  • Start new line⇧ (shift) + ↵ Add →
  • Delete line at caret⌘ (command) + ⌫ Add →
  • Duplicate current line or selected block⌘ (command) + d Add →
  • Paste from buffer/recent buffers⌘ (command) + v Add →
  • Auto-indent line(s)⌃ (control) + ⌥ (option) + i Add →
  • Reformat code⌥ (option) + ⌘ (command) + l Add →
  • Show intention actions/quick-fixes⌥ (option) + ↵ Add →
  • Decrease current selection to previous state⌥ (option) + ↓ Add →
  • Select successively increasing code blocks⌥ (option) + ↑ Add →
  • Comment with line or block comment⌘ (command) + / Add →
  • Surround with...⌥ (option) + ⌘ (command) + t Add →
  • Override methods⌃ (control) + o Add →
  • Generate code... (e.g. Rails Generators)⌘ (command) + n Add →
  • Show descriptions of error at caret⌘ (command) + f1 Add →
  • Brief Info⌘ (command) + mouse-hover Add →
  • Quick documentation lookup⌃ (control) + j Add →
  • Parameter info (within method call arguments)⌘ (command) + p Add →
  • Complete current statement⇧ (shift) + ⌘ (command) + ↵ Add →
  • Basic code completion⌃ (control) + space Add →

Download Keyboard Cheat Sheet for RubyMine for Mac

Do you want all keyboard shortcuts for RubyMine in one pdf?

Cheat sheet

Community shortcuts for RubyMine

Be the first to share — open Pie Menu → RubyMine → Share Config

View community page →
Pie Menu

Get started with Pie Menu today.

The convenience of shortcuts without the memorization!