From 9749561f9af8a3b0e4c0559d75c3622d0af1d757 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 2 Nov 2021 12:51:05 +0100 Subject: inputrc: add bindings for insert-mode history scrolling --- dotfiles/inputrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/inputrc b/dotfiles/inputrc index 3ef2d6e..1bff8b8 100644 --- a/dotfiles/inputrc +++ b/dotfiles/inputrc @@ -16,6 +16,9 @@ set keymap vi-insert # Alt-/ completes filenames as in emacs mode "\e/": complete-filename +C-j: next-history +C-k: previous-history + # command-mode maps set keymap vi-command "\e[2~": vi-insertion-mode -- cgit v1.2.3