dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 5d347a55622feb87c03e76a8acfe8d72f1eb0291 (patch)
parent 1bb96994915fc098b84d0017a6fdfdde36200502
Author: Alexander Karle <akarle@umass.edu>
Date:   Thu, 22 Nov 2018 19:10:15 -0500

[bash] add +/: indicator to prompt based on vi mode

Diffstat:
Minputrc | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/inputrc b/inputrc @@ -1,5 +1,8 @@ # vi keys! Needs to be up top set editing-mode vi +set show-mode-in-prompt on +set vi-cmd-mode-string "\1\e[1;93m\2:\1\e[0m\2 " +set vi-ins-mode-string "\1\e[1;92m\2+\1\e[0m\2 " # tab completion Tab: menu-complete