From a794abdf3ded322d3d18e045691dce3d6c583086 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 2 Feb 2019 07:28:34 -0500 Subject: [PATCH] vi mode cursor change in bash --- .inputrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.inputrc b/.inputrc index 862d347..f9b94dd 100644 --- a/.inputrc +++ b/.inputrc @@ -2,6 +2,10 @@ $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