by spelufo · 2y ago · 0 comments
In ~/.inputrc:
"\e[A": history-search-backward
"\C-p": history-search-backward
"\e[B": history-search-forward
"\C-n": history-search-forward "\e[A": history-search-backward
"\e[B": history-search-forward
"\eOA": history-search-backward
"\eOB": history-search-forward
The only downside ist, don't over-rely on history muscle memory! Regularly every few months I use p+arrowUp and expect to get "ping" but get the exceptional "pip" instead.