Memo‎ > ‎

Add the support of MATLAB-style backward history to bash

posted Mar 6, 2013, 1:47 PM by Teng-Yok Lee   [ updated Mar 6, 2013, 1:48 PM ]
Reference: http://codeinthehole.com/writing/the-most-important-command-line-tip-incremental-history-searching-with-inputrc/

The ones I added to my .inputrc:
"\e[A": history-search-backward
"\e[B": history-search-forward
"\e\e[C": forward-word
"\e\e[D": backward-word

Comments