Open iTerm2 > Preferences > Profiles (menu) > Keys (tab)
Backspace
Set your Left Option (⌥) Key
to Esc+
Jump Forward
Select Key Mapping ⌥→
or click the plus icon to add a new Key Mapping if not exist, then set value like below image
- Keyboard Shortcut: ⌥→ (Press the key command: ⌥ and →)
- Action: Send Escape Sequence
- Esc+: f
Jump Backward
Select Key Mapping ⌥←
or click the plus icon to add a new Key Mapping if not exist, then set value like below image
- Keyboard Shortcut: ⌥←
- Action: Send Escape Sequence
- Esc+: b