Add readline shortcuts for improved history searching

This commit is contained in:
Andrew R. M 2025-04-04 17:42:35 +00:00
parent 81202b5968
commit 4bfa9995cd

View File

@ -74,3 +74,10 @@ set keymap vi-insert
Control-q: quoted-insert Control-q: quoted-insert
Control-@: set-mark Control-@: set-mark
Control-_: undo Control-_: undo
"\e[A": history-search-backward
"\e[B": history-search-forward
set keymap vi-command
j: history-search-forward
k: history-search-backward
"\e[A": history-search-backward
"\e[B": history-search-forward