Skip to content

Instantly share code, notes, and snippets.

@ksob
Created September 13, 2012 12:08
Show Gist options
  • Save ksob/3713918 to your computer and use it in GitHub Desktop.
Save ksob/3713918 to your computer and use it in GitHub Desktop.
Jump a word on MAC OS X
I recently upgraded from Snow Leopard to Lion and Xcode 4.1, and word jumping stopped working in both Terminal and iTerm2. Did the mappings change?
This is with and without a homebrew installation of readline.
My .inputrc looks like this:
"\e[1;5D": backward-word
"\e[1;5C": forward-word
For standard terminal it should go:
# word jump on SHIFT left/right arrows
"\e[1;2D": backward-word
"\e[1;2C": forward-word
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment