Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
forward-word?
- X-seq: zsh-workers 2921
- From: blaise@xxxxxxxxxxxxxx
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: forward-word?
- Date: Wed, 19 Feb 1997 13:14:11 -0500
- In-reply-to: <5eep5s$mnf$1@xxxxxxxxxxxxxxxxxxx>
- Original-from: blaise@xxxxxxxxxxx
- Original-from: blaise@xxxxxxxxxxxxxx (Blaise Tarr(457-4233) 51E61 catwoman )
- References: <5eep5s$mnf$1@xxxxxxxxxxxxxxxxxxx>
Jari Kokko writes:
> Is the forward-word behaviour intentionally different from GNU Emacs?
>
> If I type Ctrl-a, Meta-f the cursor ends up
> with zsh:
> aaaa bbbb cccc
> ^
> with emacs:
> aaaa bbbb cccc
> ^
>
> (zsh 3.0.2, emacs 19.34)
>
> I'd like to change this, and tried 'bindkey | grep forw' but found
> nothing interesting.
I have the following in my .zshrc, which accomplishes what you want.
However it still leaves me wondering why this is not the default
behavior. (Ksh's emacs mode is bound like GNU emacs's.)
bindkey -me
bindkey '\Mf' emacs-forward-word
bindkey '\MF' emacs-forward-word
bindkey '\M^h' backward-kill-word
--
Blaise Tarr
btarr@xxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author