zsh-workers
 help / color / mirror / code / Atom feed
From: blaise@zenith.att.com
To: zsh-workers@math.gatech.edu
Subject: forward-word?
Date: Wed, 19 Feb 1997 13:14:11 -0500	[thread overview]
Message-ID: <9702191814.AA22811@jbond.zenith.att.com> (raw)
In-Reply-To: <5eep5s$mnf$1@bilbo.ntc.nokia.com>

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


  reply	other threads:[~1997-02-19 18:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-19 11:46 forward-word? Jari Kokko
1997-02-19 18:14 ` blaise [this message]
1997-02-20 11:02   ` forward-word? Jari Kokko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9702191814.AA22811@jbond.zenith.att.com \
    --to=blaise@zenith.att.com \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).