Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: getting zle vi-modes to show the current mode
- X-seq: zsh-users 10983
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: getting zle vi-modes to show the current mode
- Date: Tue, 14 Nov 2006 11:13:10 -0800
- In-reply-to: <17393e3e0611131127h75caa46es184b80fe17f13c49@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <17393e3e0611131127h75caa46es184b80fe17f13c49@xxxxxxxxxxxxxx>
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