It’s a must to configure iTerm2 to ship Esc-B
and Esc-F
to get the again/ahead performance you are in search of.
Go into Iterm2 Profiles and edit the profile you are keen on. Then, underneath the important thing mapping part, select the “Choice Proper Arrow”
Once you double click on on it, you will want to pick the choice “Ship Escape Codes”
- For the left arrow use “b”
- For the appropriate arrow use “f”
Match with Terminal
This is just a little hack you are able to do to match what you see from Terminal and apply it to iTerm2. Merely go into the important thing mapping preferences in Terminal (proven beneath) and choose the merchandise you need to copy over.
It provides you with the code as