bindkey -v (for bash-ers
set -o vi I think that works in zsh too) or vi(m) mode. but it bugs me that I don't have any visual cue to tell me whether I'm in insert mode or command mode. Does anyone know how I can make my prompt display the mode?
You've already found
There is a standard terminfo capability to change the shape of the cursor. However some terminals display the same cursor in both modes. Xterm's notion of a less visible cursor is to make it blink (and this must be enabled with the
With some terminals, you can also change the cursor color with
I'd explain it except I don't really understand it yet
|show 1 more comment|