From b78d801675265d8748227cc61b12b1414e594ce5 Mon Sep 17 00:00:00 2001 From: Tony Grosinger Date: Fri, 10 May 2019 14:11:55 -0700 Subject: [PATCH] Fix history search in inputrc --- .inputrc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.inputrc b/.inputrc index 45b0954..08a87a1 100644 --- a/.inputrc +++ b/.inputrc @@ -1,7 +1,14 @@ -"\e[A": history-search-backward -"\e[B": history-search-forward set show-all-if-ambiguous on # Enable Vim keybindings set editing-mode vi + set keymap vi-command +"\e[A": history-search-backward +"\e[B": history-search-forward +j: history-search-forward +k: history-search-backward + +set keymap vi-insert +"\e[A": history-search-backward +"\e[B": history-search-forward