Skip to content

Instantly share code, notes, and snippets.

@codepedia
Created January 25, 2016 01:33
Show Gist options
  • Save codepedia/dc7dd3aac88d37f57dd4 to your computer and use it in GitHub Desktop.
Save codepedia/dc7dd3aac88d37f57dd4 to your computer and use it in GitHub Desktop.
TODO:
Add these two lines to your ~/.inputrc file:
"\eOC": forward-word
"\eOD": backward-word
and press Ctrl-x Ctrl-r to reread the file to make the changes active in your current session.
You will be able to use Ctrl-Right and Ctrl-Left to move right or left word by word.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment