Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
swapping keys
- X-seq: zsh-users 9946
- From: Francisco Borges <f.borges@xxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: swapping keys
- Date: Mon, 20 Feb 2006 15:19:07 +0100
- In-reply-to: <Xns97708723BE304zzappergmailcom@xxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Alfa Informatica - Rijksuniversiteit Groningen
- References: <Xns976FBAFEAC071zzappergmailcom@xxxxxxxxxxx> <EXCHANGE03bJjyve2q70000ee73@xxxxxxxxxxxxxxxxxx> <Xns97708723BE304zzappergmailcom@xxxxxxxxxxx>
» On Mon, Feb 20, 2006 at 01:17PM +0000, zzapper wrote:
> It's just that !-2 is a bit a pain to type (sorry)!
One possible solution is to switch keys like "`~" and "1!" (I have to
confess I have only swapped "`~").
Since I am at it... Is it possible to swap keys inside zsh?
I know I can use
% bindkey -s 1 !
but then I can't do the reverse ("bindkey -s ! 1").
I have swapped some keys but I did it globally (i.e. xmodmap), while
that is what I want for some keys (like ESC and CapsLock) I did rather
keep some key changes within the shell only.
Cheers!
Francisco
Messages sorted by:
Reverse Date,
Date,
Thread,
Author