iTerm set Back/Forward word keys
Not sure, but iTerm was not recognizing my backward/forward word keys which is annoying.
The key combinations I am talking about are ALT - b
for backwards one word on terminal and ALT -f
for forwards one word on terminal. This seems odd as regular terminal works off of these keys without issue.
I needed to go to the iTerm-Preferences-Keys-KeyMappings
and change the key combinations ⌥<-
and ⌥->
Change the shortcut to Send Escape Sequence
and add the b
key for backwards
![](https://siliconheaven.info/content/images/2023/08/Screenshot-2023-08-06-at-4.52.29-PM.png)
Repeat for forwards with other key combination and it works
Found this helpful information here
Making the Alt Key Work in iTerm2 · clairecodes
A quick tip to enable using the Alt or Option key to skip words in iTerm2
![](https://www.clairecodes.com/images/iterm/broken-alt.gif)