RubyMine 5.4.0 Web Help

To bind a macro with a keyboard shortcut
  1. On the main menu, choose File | Settings | IDE Settings | Keymap for Windows and Linux or RubyMine | Preferences | IDE Settings | Keymap for Mac OS.
  2. Create a new keymap or select an editable keymap from the list of keymaps.
  3. Expand the Macros node and select the macro for which a keyboard shortcut should be created.
  4. Click the Add Keyboard Shortcut button.
  5. In the Enter Keyboard Shortcut dialog, press the keys to be used as a shortcut. The keystrokes are immediately reflected in the First Stroke field. Optionally, select the Enable check box and specify the Second Stroke. As you press the keys, the Preview field displays the suggested combination of keystrokes, and the Conflicts field displays warnings, if some of the keystrokes are already in use.
  6. Click OK using the mouse pointer to create a shortcut and bind it with the macro.

See Also

Procedures:

Web Resources: