Setup Cmd+[left|right] and Option+[left|right] mac shortcuts for iTerm2
StackOverflow question with its answer: https://stackoverflow.com/questions/6205157/how-to-set-keyboard-shortcuts-to-jump-to-beginning-end-of-line
| For | Action | Send |
|---|---|---|
| ⌘ ← | "SEND HEX CODE" | 0x01 |
| ⌘ → | "SEND HEX CODE" | 0x05 |
| ⌥ ← | "SEND ESC SEQ" | b |
| ⌥ → | "SEND ESC SEQ" | f |