Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save legitscript-zach/aa76de81e6d72eb3cf95031ae5b877b2 to your computer and use it in GitHub Desktop.
Save legitscript-zach/aa76de81e6d72eb3cf95031ae5b877b2 to your computer and use it in GitHub Desktop.

Revisions

  1. @seachai seachai created this gist Oct 24, 2019.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    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 ⌥ + →, move to the start of the line using fn + ← and to the end of the line with fn + →. Also you can delete a word backwards using Option ⌥ + ⌫, delete the whole line using Command ⌘ + ⌫.

    If the preset doesn't appear, reinstall iTerm2. If you installed it using Homebrew+Cask:

    brew cask reinstall iterm2