Skip to content

Instantly share code, notes, and snippets.

@danzimmerman
Last active August 8, 2020 20:33
Show Gist options
  • Save danzimmerman/f4384613b2f89193da1f0397815924bd to your computer and use it in GitHub Desktop.
Save danzimmerman/f4384613b2f89193da1f0397815924bd to your computer and use it in GitHub Desktop.
Linux arrow-key history-search thing I always want
# 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