Last active
August 8, 2020 20:33
-
-
Save danzimmerman/f4384613b2f89193da1f0397815924bd to your computer and use it in GitHub Desktop.
Linux arrow-key history-search thing I always want
This file contains 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 | |
# From https://unix.stackexchange.com/questions/5366/command-line-completion-from-command-history | |
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
"\eOA": history-search-backward | |
"\eOB": history-search-forward |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment