since bash 4.4 you can set variables vi-ins-mode-string and vi-cmd-string in .inputrc. I've been trying to change the foreground and background color of each of those strings by using tput setab number
and tput setaf number
, no success.
I guess it is possible as I've seen bash-powerline script and it uses exactly those functions to do the coloring.
Any help would be appreciated.