Skip to content

Instantly share code, notes, and snippets.

@dirkpostma
Created February 17, 2018 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dirkpostma/114d3809f77fe2c9ef1115e4e957fbba to your computer and use it in GitHub Desktop.
Save dirkpostma/114d3809f77fe2c9ef1115e4e957fbba to your computer and use it in GitHub Desktop.
Use up/down arrows to search though bash command history
# 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