A Few of My favorite RubyMine Shortcuts to Speed Up Development


As a developer on the Windows platform, it’s very difficult to stop reaching for the mouse but I’ve been trying to wean myself from the mouse as much as possible.  Here are a few of my favorite RubyMine shortcuts that have helped.

  • Ctrl + W
    Selects the nearest word.  Repeatedly pressing them will select increasingly larger blocks of words.
  • Ctrl + /
    Toggle commenting on the selected line or highlighted block.
  • Ctrl + Tab
    Navigates through the files that are open.
  • Shift + Delete
    Deletes the current row and places it in your Clipboard to paste later.
  • Ctrl + Alt + M
    Extracts the highlighted block of code into a new method.


  1. Ctrl-x (or Cmd-x) will also cut the line with the cursor on it and put it in the clipboard. Just slightly easier keystroke to me.
    Also similar and very handy is Ctrl-d (or Cmd-d), which will duplicate the current line (or selected lines), but not effect your clipboard (which you’re often ready to paste from already).


Please enter your comment!
Please enter your name here