zsh-users
 help / color / mirror / code / Atom feed
* bindkey -v and alt-. for previous cmd arg
@ 2004-11-03 12:48 Nick Croft
  2004-11-03 13:53 ` DervishD
  0 siblings, 1 reply; 14+ messages in thread
From: Nick Croft @ 2004-11-03 12:48 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-11-09 11:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-03 12:48 bindkey -v and alt-. for previous cmd arg Nick Croft
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

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).