ItermWithRubyMineHotkeys

Jason Cheong-Kee-You edited this page Sep 27, 2017 · 3 revisions

Configure iTerm2 with RubyMine Hotkeys

1. iTerm2 Preferences -> Profiles -> Keys

  1. Remove entry for <Alt + Left>
  2. Remove entry for <Alt + Right>
  3. Set 'Left option key acts as' to '+Esc'

NOTE: The above steps are necessary to allow the <Alt + 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 Alt + 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 Alt + Left Send Escape Sequence b
Move one word right Alt + Right Send Escape Sequence f
 
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.