about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.config/bash/prompt5
-rw-r--r--.config/bash/rc1
2 files changed, 5 insertions, 1 deletions
diff --git a/.config/bash/prompt b/.config/bash/prompt
index f65f096..4a246b4 100644
--- a/.config/bash/prompt
+++ b/.config/bash/prompt
@@ -1,5 +1,10 @@
 # vim: ft=sh
 
+bind 'set show-mode-in-prompt on'
+
+bind 'set vi-ins-mode-string "\e[33m[i] "'
+bind 'set vi-cmd-mode-string "\e[35m[c] "'
+
 # get current branch in git repo
 function parse_git_branch() {
 	BRANCH=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`
diff --git a/.config/bash/rc b/.config/bash/rc
index 2445079..16ba85a 100644
--- a/.config/bash/rc
+++ b/.config/bash/rc
@@ -5,7 +5,6 @@ shopt -s histappend
 
 bind 'set bell-style visible'
 bind 'set completion-ignore-case on'
-bind 'set show-mode-in-prompt on'
 bind 'set expand-tilde on'
 
 # vi mode stuff