Issue
I can see that Ctrl+left/right jumps to the beginning/end of line. How to change this to Cmd+left/right arrow?
Solution
Add in iTerm2 the following Profile Shortcut Keys
FOR | ACTION | SEND |
---|---|---|
⌘ ← | "SEND HEX CODE" | 0x01 |
⌘ → | "SEND HEX CODE" | 0x05 |
⌥ ← | "SEND ESC SEQ" | b |
⌥ → | "SEND ESC SEQ" | f |
Here is a visual for those who need it
Answered By - Matthias