Skip to content

Instantly share code, notes, and snippets.

@jmurowaniecki
Last active August 29, 2015 14:01
Show Gist options
  • Save jmurowaniecki/dd9fa005a92d48f9ca83 to your computer and use it in GitHub Desktop.
Save jmurowaniecki/dd9fa005a92d48f9ca83 to your computer and use it in GitHub Desktop.
MacOS iTerm / Terminal word jump issue for ZSH and BASH
([[ $BASH != "" ]] && echo -e "\"\e[1;5C\": forward-word\n\"\e[1;5D\": backward-word">>~/.inputrc)||([[ $ZSH_NAME != "" ]] && echo "bindkey -e\nbindkey \"\\\e[1;5C\" forward-word\nbindkey \"\\\e[1;5D\" backward-word">>~/.zshrc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment