Last active
April 3, 2017 13:14
-
-
Save wildskyf/9b88427fb641b48fe6a8d2888b5ee6e4 to your computer and use it in GitHub Desktop.
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
# Press up-arrow for previous matching command | |
"\e[A":history-search-backward | |
# Press down-arrow for next matching command | |
"\e[B":history-search-forward | |
# 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