Skip to content

Instantly share code, notes, and snippets.

@seachai
Last active May 2, 2024 10:19
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save seachai/948ed1eeafa32ce03db6685edb879f71 to your computer and use it in GitHub Desktop.
Save seachai/948ed1eeafa32ce03db6685edb879f71 to your computer and use it in GitHub Desktop.
iTerm 2 Natural Text Editing Preset
On iTerm2 - Open Preferences > Profiles > Keys > Key Mappings > Presets > Select Natural Text Editing
- 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
@Memphis1983
Copy link

Hey bud so I just started using MacBook Pro and been setting it up, I installed iTerm2 using Homebrew + Cask but the Natural Text Editing is missing from the presets, I tried the above to reinstall, well the command has changed to brew install --cask iterm2 and I did reinstall as mentioned but the preset is still missing, wondering if I can download it from somewhere and import it manually? Let me know and TIA

@up0617
Copy link

up0617 commented Feb 24, 2022

If you watching Preference-Keys, (What I did for 30 minutes)
you should go to Preference-Profile-keys-key mappings

image

@JoelBennett
Copy link

Oh man. So glad to know it wasn't just me who was looking in the wrong spot. Talk about confusing!

@virsaviya
Copy link

@jkreitzman
Copy link

Lifesaver

@stwr667
Copy link

stwr667 commented Jun 26, 2023

Thank you! I was looking in the wrong spot too.

@Agshin2004
Copy link

If you watching Preference-Keys, (What I did for 30 minutes) you should go to Preference-Profile-keys-key mappings

image

thanks!

@WolfEYc
Copy link

WolfEYc commented Nov 1, 2023

yeah this is a lifesaver... what a shitty UI

@honest-niceman
Copy link

If you watching Preference-Keys, (What I did for 30 minutes) you should go to Preference-Profile-keys-key mappings
image

thanks!

Thanks!

@MohammedAlJaff
Copy link

Thank you tons

@ziyadsfaxi
Copy link

Thanks 🚀

@WolfEYc
Copy link

WolfEYc commented Apr 14, 2024

I found a way around this.
Not using macOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment