How to change cursor shape depending on VI mode in Bash?
SOLUTION: I am posting my answer to my own question here as recommended. This solution works for Bash 4.4+, since, starting with that version of Bash, version 7.0 of the GNU readline library is used, which includes the necessary additions of the vi-cmd-mode-string and vi-ins-mode-string variables. These variables can be set as follows in your … Read more