Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: getting zle vi-modes to show the current mode



On Nov 13, 11:27am, Matt Wozniski wrote:
>
> function my-vi-insert {
>   zle -M "--INSERT--"
>   zle .vi-insert
> }

Start with this:

    function zle-keymap-select {
      zle -M "$KEYMAP"
    }
    zle -N zle-keymap-select

Tweak as desired.  Requires a fairly recent build of zsh.



Messages sorted by: Reverse Date, Date, Thread, Author