To kill a fly from a gun:
- Go to Settings ... > Profiles > Keys
- Click Download Preset ...
- Select Natural Text Editing
You can then move the word backward using Option โฅ + โ , and the word forward using Option โฅ + โ , go to the beginning of the line using fn + โ , and to the end of the line. line with fn + โ . You can also delete the word back with Option โฅ + โซ , delete the entire line with Command โ + โซ .
If the preset does not appear, reinstall iTerm2. If you installed it using Homebrew + Cask:
brew cask reinstall iterm2
source and loans https://apple.stackexchange.com/a/293988/330806
best wishes Apr 29 '19 at 11:44 2019-04-29 11:44
source share