Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: widget called when zle starts.
- X-seq: zsh-workers 19287
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: widget called when zle starts.
- Date: Mon, 15 Dec 2003 18:43:16 +0000
- In-reply-to: <21461.1071485875@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <21461.1071485875@xxxxxxx>
On Dec 15, 10:57am, Peter Stephenson wrote:
}
} It should be possible to get more control, though. You can already test
} for context, e.g. $PREBUFFER. Another zle variable giving more about
} the context is a possibility.
I think this is almost a requirement. Otherwise one is reduced to doing
things like this:
precmd() { zle_use_cmd_mode=1 }
zle-line-init() {
((zle_use_cmd_mode)) && zle vi-cmd-mode
zle_use_cmd_mode=0
}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author