Select full word in iTerm2 using alt + shift + arrow

5,409

Go to Preferences then Keys.

Press the +.

For the Keyboard Shortcut, press Alt + Shift + |

For Alt + Shift + , choose "Move Start of Selection Back" and "Move by Word".

For Alt + Shift + , choose "Move End of Selection Forward" and "Move by Word".

Share:
5,409

Related videos on Youtube

Konrad
Author by

Konrad

Updated on September 18, 2022

Comments

  • Konrad
    Konrad over 1 year

    Following this advice, I've configured Iterm2 to delete the word when Alt + Backspace. I would like to build a similar functionality for combinations of Alt + Shift + | . With respect to those combinations, I would like to be able to select word behind or after the cursor and expand the selection further by pressing the | keys.