Created
February 17, 2018 20:04
-
-
Save dirkpostma/114d3809f77fe2c9ef1115e4e957fbba to your computer and use it in GitHub Desktop.
Use up/down arrows to search though bash command history
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
# Key bindings, up/down arrow searches through history | |
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
"\eOA": history-search-backward | |
"\eOB": history-search-forward | |
# Don't source this file, that doesn't work. | |
# In stead, by default, C-x C-r is bound to re-read-init-file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment