Last active
August 21, 2016 14:57
-
-
Save K4zuki/b611f70b0d5b688fd0abd7dd73f64eca to your computer and use it in GitHub Desktop.
$HOME/.inputrc # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://stackoverflow.com/questions/5029118/bash-ctrl-to-move-cursor-between-words-strings | |
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving | |
"\e[1;5C": forward-word | |
"\e[1;5D": backward-word | |
"\e[5C": forward-word | |
"\e[5D": backward-word | |
"\e\e[C": forward-word | |
"\e\e[D": backward-word |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment