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.
1 Answer
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".