From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23823 invoked from network); 19 Feb 1997 18:22:00 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 19 Feb 1997 18:22:00 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id NAA09177; Wed, 19 Feb 1997 13:09:59 -0500 (EST) Resent-Date: Wed, 19 Feb 1997 13:09:59 -0500 (EST) From: blaise@zenith.att.com Original-From: blaise@zenith.uucp Date: Wed, 19 Feb 1997 13:14:11 -0500 Message-Id: <9702191814.AA22811@jbond.zenith.att.com> Original-From: blaise@zenith.att.com (Blaise Tarr(457-4233) 51E61 catwoman ) To: zsh-workers@math.gatech.edu Subject: forward-word? In-Reply-To: <5eep5s$mnf$1@bilbo.ntc.nokia.com> References: <5eep5s$mnf$1@bilbo.ntc.nokia.com> Resent-Message-ID: <"Yikek2.0.KF2.o7q2p"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2921 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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@attmail.com