X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=inputrc;h=981c6213ac6ae4a27a7e7a4e25479681217084ee;hb=63303c2286c404830994aa1a7f7f62dc1e2be248;hp=20832dad169fe24f28b4640b3fe3775d987b1069;hpb=8d5c5f1ba0966a3234dc6b1e3cb38c853d9bdf26;p=config%2Fdotfiles.git diff --git a/inputrc b/inputrc index 20832da..981c621 100644 --- a/inputrc +++ b/inputrc @@ -23,5 +23,8 @@ set editing-mode vi "jj": vi-movement-mode "jk": vi-movement-mode -"\C-p": previous-history -"\C-n": next-history +# / with the additional effect that only lines starting with the +# current input are matched. Very useful to recall old commands quickly - just +# type the first few characters. +"\C-p": history-search-backward +"\C-n": history-search-forward