iTerm2
setup for better use
going one word backwards and forwards
https://apple.stackexchange.com/a/293988
- Go to
Preferences... > Profiles > Keys
- Press
Load Preset...
- Select
Natural Text Editing
Then, you can move a word backwards using Option ⌥ + ←, and a word forwards using Option ⌥ + →.
Also you can delete a word backwards using Option ⌥ + ⌫, delete the whole line using Command ⌘ + ⌫.