Skip to content

Instantly share code, notes, and snippets.

View igordot's full-sized avatar

igor igordot

  • New York University School of Medicine
  • New York, NY, USA
View GitHub Profile
@igordot
igordot / .inputrc
Created January 13, 2014 16:35
Search through your history using the up and down arrows. Start typing any command and press the up arrow to view everything in your history that starts with that, analogous to how tab completion works. These commands must be added to the ~/.inputrc file (init file) which must then be reloaded (using "C-x C-r" or "bind -f ~/.inputrc").
"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on