Skip to content

Configure RubyMine Keyboard Shortcuts in iTerm2

Jason Cheong-Kee-You edited this page Dec 24, 2020 · 9 revisions

Configure iTerm2 with RubyMine Hotkeys

1. iTerm2 Preferences -> Profiles -> Keys

  1. Remove entry for <Option + Left>
  2. Remove entry for <Option + Right>

NOTE: The above steps are necessary to allow the <Option + Left/Right> shortcuts to work.

2. iTerm2 Preferences -> Keys -> Global Shortcut Keys

Add the following shortcuts:

Description Keyboard Shortcut Action Code
Delete line Cmd + Delete Send Hex Code 0x15
Delete word Option + Delete Send Hex Code 0x17
Move to beginning of line Cmd + Left Send Hex Code 0x01
Move to end of line Cmd + Right Send Hex Code 0x05
Move one word left Option + Left Send Escape Sequence b
Move one word right Option + Right Send Escape Sequence f
Clone this wiki locally