Skip to content

Instantly share code, notes, and snippets.

@YanhaoYang
Created January 15, 2013 14:13
Show Gist options
  • Save YanhaoYang/4538919 to your computer and use it in GitHub Desktop.
Save YanhaoYang/4538919 to your computer and use it in GitHub Desktop.
Let ctrl+left to go back one word in iTerm2, and ctrl+right to go forward one word. See http://superuser.com/questions/357355/how-can-i-get-controlleft-arrow-to-go-back-one-word-in-iterm2
"\e[1;5D": backward-word
"\e[1;5C": forward-word
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment