Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

Working with RubyMine's Tabs and Splits

RubyMine’s editor is tab-based. When you open a file, it’s opened in a new tab. The editor can also be split vertically or horizontally; allowing you to edit multiple files simultaneously. In this post, we’ll look at managing and navigating these basic RubyMine concepts on OS X.

Navigating Between Tabs

Move between multiple tabs with command + shift + [/] or control + Left/Right.


Closing Tabs

Close a tab with command + W.

There are several other useful tab closing commands that don’t have keyboard shortcuts. I add the following shortcuts for them:

  • command + shift + W – close all other tabs
  • command + option + W – close all tabs
  • command + option + control + W – close all unmodified tabs

Splitting the Editor

Edit multiple files simultaneously by splitting the editor using the “Split Vertically” or “Split Horizontally” commands (find these commands quickly with command + shift + A, “Find Action”).


I add command + option + control + Up/Down shortcuts to split vertically and horizontally.

Navigating Between Splits

Move the cursor to the next split with option + Tab. Move to the previous split with option + shift + Tab.

The Switcher can also be used to move between splits. Use control + Tab to open the Switcher, continue holding down control, and then use Tab to select an open file to navigate to.

Moving Tabs Between Splits

Use the “Move To Opposite Group” command (find this command quickly with command + shift + A, “Find Action”) to move tabs between splits.

I add command + option + control + Left/Right shortcuts for this command.

Closing Splits

Close a single split by closing all of its tabs.

Close all splits with option + shift + X.

Master the Basics

In RubyMine, you’ll use tabs and splits all the time. Don’t hesitate to create custom shortcuts for tab and split commands that don’t have them. Efficiently managing and navigating tabs and splits from the keyboard is a fundamental, must learn RubyMine skill.

  1. nikeita says:

    what keyboard layout are you using? some shortcuts doesn’t work for me

    i.e. cmd+shift+/ to move between tabs

    i’m on mac osx + rubymine 5.4.2

  2. Jared Carroll says:


    I’m using the Mac OS X 10.5+ keymap ( on RubyMine 5.4.2.

    I combined the two shortcuts to move between tabs:

    * command + shift + [
    * command + shift + ]

    The ‘/’ was used as a separator instead of writing out both shortcuts; command + shift + / isn’t a default shortcut in the keymap.

    Sorry about the confusion.

  3. Tira Odhner says:

    “Goto Next Splitter” and “Goto Previous Splitter” are the commands for switching the cursor between panes. They have no keyboard shortcuts assigned by default in at least some of the default rubymine configurations.

  4. Jared Carroll says:


    I’ve found both “Goto Next Splitter” and “Goto Previous Splitter” keyboard shortcuts (option + Tab and option + shift + Tab) in each of the OS X specific keymaps:

    Default for Mac OS X
    Mac OS X
    Mac OS X 10.5+
    Eclipse (Mac OS X)

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *