Skip to content

Instantly share code, notes, and snippets.

@seachai
Last active November 16, 2024 00:49
Show Gist options
  • 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
@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

@foxmean
Copy link

foxmean commented May 15, 2024

Thanks so much!

@ZBeimnet
Copy link

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

image

Glad I found this in 2024 :), thank you!

@hieuvo
Copy link

hieuvo commented May 29, 2024

super helpful, I wish I could find this earlier

@mhphotos1
Copy link

This was super helpful! glad I found this too!

@theliuk
Copy link

theliuk commented Jun 25, 2024

Thank you guys for your life saving screenshots. I spent 30 minutes trying to understand why I didn't see the Natural Text Editing option.

@n0kovo
Copy link

n0kovo commented Aug 23, 2024

Bruh <3

@rivehafintosh
Copy link

rivehafintosh commented Oct 29, 2024

oh my god this thread saved my life...after wasting 30 minutes like everyone else.... chat gpt was useless and you saved my ass from breaking my mac... this app's preferences UI is garbage, overly complex with pointless features(that i'm sure I'll be happy about later on) and the only option I wanted to change super deeply hidden... why the hell doesn't it come set by default and the weird profile get set manually for some non standard behavior anyways?

@uddesson
Copy link

uddesson commented Nov 6, 2024

+1 for finding this helpful, I was also looking in the wrong place. Thanks for posting!

@ben-xD
Copy link

ben-xD commented Nov 15, 2024

With iterm now, selecting "Natural Text Editing" only gives me 8 bindings. I'm missing quite a few.

settings

@TheRojam
Copy link

TheRojam commented Nov 15, 2024

With iterm now, selecting "Natural Text Editing" only gives me 8 bindings. I'm missing quite a few.

Same and I think this is not working correctly.

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