From 6cfa9c603c21092f22a1f2a8bd60e86d0e0516e4 Mon Sep 17 00:00:00 2001 From: urosm Date: Sun, 8 Oct 2023 21:36:24 +0200 Subject: [PATCH] update `readline` config --- .config/readline/inputrc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.config/readline/inputrc b/.config/readline/inputrc index cf89be6..22927e7 100644 --- a/.config/readline/inputrc +++ b/.config/readline/inputrc @@ -11,17 +11,19 @@ set keyseq-timeout 50 # history search $if mode=vi set keymap vi-command - "j": history-search-forward - "k": history-search-backward + "j": history-substring-search-forward + "k": history-substring-search-backward set keymap vi-insert - "\e[A": history-search-backward - "\e[B": history-search-forward + "\e[A": history-substring-search-backward + "\e[B": history-substring-search-forward $endif # faster completion "\t":menu-complete "\e[Z":menu-complete-backward +set completion-ignore-case on set show-all-if-ambiguous on +set completion-display-width 0 # color set colored-stats on