iTerm2 word jumping
Tuesday, 13 May 2014Date: 2014-05-13
I’m so tired of looking for posts about jumping/deleting words and jumping between the beginning and the end of the line in iTerm2, that I’ve decided to write my own post.
Word jumping – with option + left/right
- Go to iTerm preferences –> "your default profile" –> Keys
- get rid of the lines with the two lines sending escape codes with option + left/right
- Add a couple of lines in iTerm preferences –> Keys (Global Shortcut keys)
- option + left: Send Escape Sequence, ESC + B
- option + right: Send Escape Sequence, ESC + F
Word deletion – with option + backspace
Add a line in iTerm preferences –> Keys (Global Shortcut keys):
- option + backspace: Send Hex Code, 0x1B 0x08
Jump to the beginning/end of a line – with cmd + left/right
Add a couple of lines in iTerm preferences –> Keys (Global Shortcut keys):
- cmd + left: Send Hex Code, 0x01
- cmd + right: Send Hex Code, 0x05
Check the following screenshot for more details:
