Expired Queues
Published since 2009 Core-CSS.net → CSSJunction.com → Expired Queues Web development

Written in July 2015. Much of what it describes has since changed or disappeared; it is kept as a record of how the web used to work, not as advice.

Developer Toolspostsiterm2

Fix iTerm2 word navigation on macOS

On a default iTerm2 install, word navigation doesn’t behave like macOS for me. ⌥← and ⌥→ don’t reliably jump by word, especially with zsh autosuggestions.

The fix is built in. No hex codes. No shell config.

Follow these steps:

  • Open iTerm2 → Preferences
  • Go to Profiles → (your profile) → Keys
  • Under Key Mappings, open Presets
  • Select Natural Text Editing

That’s it.

After this:

  • ⌥← and ⌥→ move by word
  • ⌥⌫ deletes one word
  • ⌘← and ⌘→ go to line start/end
  • Works with zsh autosuggestions

Nothing else needed.

You might be interested in: