X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=inputrc;h=981c6213ac6ae4a27a7e7a4e25479681217084ee;hb=ad26dac43cbd7b8acb92d4f5ec7431d8022703ac;hp=daa4dec465c7115b52ed286f31d80b353615bd37;hpb=68ad4e859eb3c85db2bb6b33555605f9dc74a007;p=config%2Fdotfiles.git diff --git a/inputrc b/inputrc index daa4dec..981c621 100644 --- a/inputrc +++ b/inputrc @@ -19,8 +19,12 @@ set editing-mode vi # KEY BINDINGS -# Also use jj to exit insert mode. +# Use jj and jk to exit insert mode. "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