zsh-users
 help / color / mirror / code / Atom feed
From: Nick Croft <nicko@acay.com.au>
To: zsh-users@sunsite.dk
Subject: bindkey -v and alt-. for previous cmd arg
Date: Wed, 3 Nov 2004 23:48:58 +1100	[thread overview]
Message-ID: <20041103124858.GA1476@tandv.ws> (raw)

Hi zsh users,

I've been happily using Zsh for a couple of years, as the most productive
shell for my set of habits.

I use the vi keymaps -- I emerge from a vim session, issue a few commands and
return to vim. It's natural to keep editing the command line in a vi frame
of mind.

One of the coolest among many cool features of zsh is the trick of
reproducing the previous command line argument with alt-.  (This may be
shared with bash iirc).

n@tandv ~ % ls /usr/share/zsh
4.2.1 functions help
n@tandv ~ % ls alt-./4.2.1
functions
n@tandv ~ % cd alt-.

etc etc.

This is no longer available. If I get rid of bindkey -v, then it's there.

I've spent about 18 hours reading up and googling. I've tried other peoples
.zshrcs.  Am I the only one using bindkey -v and heavily reliant on getting
the previous command argument. (Repeated pressing alt-. gets the argument
from the line before, etc).

Hope someone can help.

Nick


             reply	other threads:[~2004-11-03 12:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-03 12:48 Nick Croft [this message]
2004-11-03 13:53 ` DervishD
2004-11-03 19:44   ` Nick Croft
2004-11-03 19:57     ` DervishD
2004-11-03 20:01       ` DervishD
2004-11-04 11:43         ` Nick Croft
2004-11-04 12:03           ` DervishD
2004-11-04 12:16           ` Peter Stephenson
2004-11-04 14:20           ` Matthias B.
2004-11-04 14:33             ` Chris Johnson
2004-11-04 19:43               ` Nick Croft
2004-11-07 11:53             ` Nick Croft
2004-11-07 13:29               ` Matthias B.
2004-11-09 11:18                 ` Nick Croft

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=20041103124858.GA1476@tandv.ws \
    --to=nicko@acay.com.au \
    --cc=zsh-users@sunsite.dk \
    /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).