Skip to content

Instantly share code, notes, and snippets.

@knugie
Last active February 4, 2023 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knugie/fc9964695951b4c13ed3 to your computer and use it in GitHub Desktop.
Save knugie/fc9964695951b4c13ed3 to your computer and use it in GitHub Desktop.
# Use alt+arrow to move cursor by word# Mac OS X El Capitan # iTerm2 # zsh # ~/.zshrc
# Skip forward/back a word with opt-arrow
# https://gist.github.com/knugie/fc9964695951b4c13ed3
bindkey -e
bindkey '\e\e[C' forward-word
bindkey '\e\e[D' backward-word
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment