From 7888574b1c18c77b75e5c6c5930cd0709f16898a Mon Sep 17 00:00:00 2001 From: Jackson Taylor Date: Thu, 3 Feb 2022 22:22:11 -0500 Subject: Catching up --- .config/shell/inputrc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .config/shell/inputrc (limited to '.config/shell/inputrc') diff --git a/.config/shell/inputrc b/.config/shell/inputrc new file mode 100644 index 0000000..f9b94dd --- /dev/null +++ b/.config/shell/inputrc @@ -0,0 +1,19 @@ +$include /etc/inputrc +set editing-mode vi +$if mode=vi + +set show-mode-in-prompt on +set vi-ins-mode-string \1\e[6 q\2 +set vi-cmd-mode-string \1\e[2 q\2 + +set keymap vi-command +# these are for vi-command mode +Control-l: clear-screen +Control-a: beginning-of-line + +set keymap vi-insert +# these are for vi-insert mode +Control-l: clear-screen +Control-a: beginning-of-line + +$endif -- cgit v1.2.3