RubyMine 2017.3 Help

Binding Macros With Keyboard Shortcuts

To bind a macro with a keyboard shortcut

  1. Press Ctrl+Alt+S or choose File | Settings (for Windows and Linux) or RubyMine | Preferences (for macOS) on the main menu, and then go to Keymap.
  2. Create a new keymap or select a keymap from the list of keymaps.
  3. Expand the Macros node and select the macro for which a keyboard shortcut should be created.
  4. Right-click the macro and choose Add Keyboard Shortcut in the context menu:
    /help/img/idea/2017.3/binding_keyboard_shortcut_to_macro.png
  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 Second stroke checkbox and specify the second stroke. As you press the keys, the Preview field displays the keystrokes you pressed, and the Conflicts field displays warnings, if the keystrokes are already in use.
  6. Click OK using the mouse pointer to create a shortcut and bind it with the macro.
  7. Apply changes.

See Also

Last modified: 15 September 2017