Skip to content

Configure RubyMine Keyboard Shortcuts in iTerm2

Jason Cheong-Kee-You edited this page Apr 15, 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

Add the following shortcuts:

Description Keyboard Shortcut Action Code
Delete line command delete Send Hex Code 0x15
Delete word option delete Send Hex Code 0x17
Move to beginning of line command Send Hex Code 0x01
Move to end of line command Send Hex Code 0x05
Move one word left option Send Escape Sequence b
Move one word right option Send Escape Sequence f
Clone this wiki locally