RubyMine 2020.2 Help


File | Settings | Keymap for Windows and Linux

RubyMine | Preferences | Keymap for macOS Ctrl+Alt+S the Settings/Preferences icon

Use this page to search for shortcuts and actions in the selected keymap, create, edit, and remove custom keymaps, and change shortcuts associated with actions in custom keymaps. Predefined keymaps are not editable. When you change shortcut associations for a predefined keymap (listed in bold), RubyMine creates a copy of that keymap, which you can modify (listed in regular font with an indent below the parent keymap).

Keymap scheme actions

Click The Show Scheme Actions menu to select an action for the selected keymap:

Duplicate Create a child keymap based on the selected one. It is created automatically when you modify a predefined keymap.
RenameChange the name of a custom keymap.
Restore DefaultsAbandon all the changes made to a custom keymap and restore the configuration of the parent keymap.
DeleteRemove the selected custom keymap from the list.

Keymap toolbar

ItemTooltip and shortcutDescription
the Expand All button

Expand All

Ctrl+NumPad +
Expand all nodes in the content pane of actions.
the Collapse All button

Collapse All

Ctrl+NumPad -
Collapse all nodes in the content pane of actions.
the Edit Shortcut icon

Edit Shortcut


Change shortcuts for the selected action. It is possible to remove existing shortcuts, and add new ones. Select the necessary action from the list:

Keymap menu
  • Select the Add Keyboard Shortcut option to open the Enter Keyboard Shortcut dialog, where you can specify the combination of keystrokes to be assigned to the selected action in the current keymap.

  • Select the Add Mouse Shortcut option to open the Enter Mouse Shortcut dialog, where you can specify the combination of mouse clicks and buttons to be assigned to the selected action in the current keymap.

  • Select the Remove <shortcut> option to delete the selected shortcut from the selected action.

These commands are duplicated in the context menus of the actions in the Actions content pane.

The Show conflicts with system shortcuts buttonShow conflicts with system shortcuts List only those shortcuts that conflict with system hotkeys. Change them to avoid conflicts. Or you can change the corresponding system shortcuts (if possible).
Search field

Search through the content pane of actions. As you type a search string, the actions that match the search pattern are displayed.

The previously used search patterns are stored in the search history list. To add the search string to the history list, press Enter.

Click Find to reveal the history list of the previous searches.

Click the Clear button to clear the current search pattern from the field.

the Find Action by Shortcut buttonFind Action by Shortcut

Click this button to open the Find Shortcut dialog to filter out the desired actions by keystrokes.

Refer to the section Configure keyboard shortcuts to learn how to specify keyboard shortcuts.

The actions with shortcuts that match the specified criteria are shown in the content pane of actions.

the Clear Filtering buttonClear FilteringClick this button to restore the initial list of actions in the content pane.

Other options

Show F1, F2, etc. keys on the Touch Bar The option is available only on Apple MacBook Pro models with a Touch Bar. It is disabled by default, so you have to hold down the Fn key to see function keys. Enable it to always show function keys on the Touch Bar instead of controls specific to RubyMine. For more information, see Touch bar support.
Use national layout for shortcuts The option is available only when using a non-English Latin keyboard layout. On macOS and Windows, it is enabled by default, and all characters are interpreted as determined by the layout. For Windows, this behavior is hard-coded, and you can't disable it. On Linux, it is disabled by default, and keys with special characters are interpreted as if you were using an English keyboard layout. For example, pressing the minus key - on a German keyboard will produce a forward slash /, so to execute Alt + / on a German keyboard, press ⌥-.
Use US non-alphanumeric keys for shortcuts The option is available on Windows when using a Cyrillic layout. It is disabled by default. Enable it to map IDE actions to OEM keyboard characters as if it were an English keyboard layout.
Last modified: 19 August 2020