8

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.

9

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

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.