Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Keybindings for prev- and next-char
- X-seq: zsh-users 8184
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Chris Johnson <cjohnson@xxxxxxxxxx>
- Subject: Re: Keybindings for prev- and next-char
- Date: Sat, 6 Nov 2004 17:51:39 -0800 (PST)
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20041106221916.GA693@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20041105234615.GA12736@xxxxxxxxxxxxxxxxxxx> <20041106090835.GB15283@DervishD> <20041106221916.GA693@xxxxxxxxxxxxxxxxxxx>
- Reply-to: zsh-users@xxxxxxxxxx
On Sat, 6 Nov 2004, Chris Johnson wrote:
> I've been using emacs without realizing it. :( However, EDITOR and
> VISUAL are both set to vi -- in my .zshrc file. Does it matter where
> these are set? The main page checks these "when the shell starts up."
They're checked when the zsh/zle module is loaded. That means they have
to be set before the first time you invoke a bindkey, zle, or completion-
related builtin, because any of those will autoload zle.
Some Linux distributions (and possibly other pre-packagings of zsh) have
"bindkey -e" or the like in their /etc/z* files, which of course cause the
settings of EDITOR and VISUAL to be ignored. You're best off putting an
explicit "bindkey -v" somewhere.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author