Skip to content

Configure RubyMine Keyboard Shortcuts in iTerm2

Jason Cheong-Kee-You edited this page Apr 20, 2021 · 9 revisions

Configure iTerm2 with RubyMine Hotkeys

1. iTerm2 Preferences -> Profiles -> Keys

  1. Remove entry for ⌥ ←
  2. Remove entry for ⌥ →

NOTE: The above steps are necessary to allow the corresponding shortcuts in the next step to work.

2. iTerm2 Preferences -> Keys -> Key Bindings

Import Key Mappings.

Description Keyboard Shortcut Action Code
Delete line ⌘ ⌫ Send Hex Code 0x15
Delete word ⌥ ⌫ Send Hex Code 0x17
Move to beginning of line ⌘ ← Send Hex Code 0x01
Move to end of line ⌘ → Send Hex Code 0x05
Move one word left ⌥ ← Send Escape Sequence b
Move one word right ⌥ → Send Escape Sequence f