Keyboard shortcut to jump between words in iTerm2 - Upendar Gareri - Medium
Excerpt
I am using zsh with auto suggestion plugin and in my new Mac setup I found that I was only able to complete the entire command using ââââŠ
[
](https://medium.com/@ThisIsUpen?source=post_page-----3c22eb5a25ef--------------------------------)
Photo by John Petalcurin on Unsplash
I am using zsh with auto suggestion plugin and in my new Mac setup I found that I was only able to complete the entire command using âââ arrow key. The feature to only select part of the command or jump only to next/previous word in the command was not set up by default.
A simple trick to solve this is mentioned below -
1. Click on iTerm2 and open âPreferencesâ
2. Click on âProfilesâ
3. Select your profile from the left (in my case âDefaultâ)
4. Click on âKeysâ tab
5. Click âKey Mappingsâ tab
6. Click the âPresetsâ dropdown and select âNatural Text Editingâ
After this pressing the âoption/altâ and âââ jumps to the next word of auto-suggestion.
Hope this helps. Cheers!!