Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bindkey -v and alt-. for previous cmd arg
- X-seq: zsh-users 8171
- From: Chris Johnson <cjohnson@xxxxxxxxxx>
- To: "Matthias B." <msb@xxxxxxxxxxxxxxx>
- Subject: Re: bindkey -v and alt-. for previous cmd arg
- Date: Thu, 4 Nov 2004 09:33:42 -0500
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20041104152010.61207970@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20041103124858.GA1476@xxxxxxxx> <20041103135335.GB22247@DervishD> <20041103194444.GB1476@xxxxxxxx> <20041103195700.GA23399@DervishD> <20041103200138.GA23419@DervishD> <20041104114333.GC1476@xxxxxxxx> <20041104152010.61207970@xxxxxxxxxxxxxxxxxxxxx>
Matthias B. sent me the following 0.9K bytes:
> > Yes! And from my recent reading I see that if you bind a key to Esc
> > using \e it will be mapped to alt as well.
>
> No, that's not how it works. It's just that in some terminals (the Linux
> console for example, at least with some keymaps) Alt-. produces ESC-.
> But this is by no means standard. In my Xterm, when I press Alt-. I get
> the (R) registered trademark sign and if I want to bind something to Alt-.
> I have to bind it to (R) to work in Xterm. The simplest way to find out
> what to bind against is to execute
>
> cat
>
> and then press the key combo in question and look at what you see on
> screen. On the linux console I get this (with Alt-.)
You can also do this at the command line by hitting <Control-v> and then
pressing the key in question. That'll save you a process!
--
Chris Johnson
cjohnson@xxxxxxxxxx
http://www.cs.utk.edu/~cjohnson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author