[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing key bindings of printable chars
From: |
John Paul Wallington |
Subject: |
Re: Changing key bindings of printable chars |
Date: |
Fri, 25 Jun 2004 01:55:47 +0100 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Michael Slass <miknrene@drizzle.com> writes:
> "Paul Batt" <paul@pbatt.ch> writes:
>
>>How can I change the key binding of a single printable character key to
>>another? I need to have "z" and "Z" print "y" and "Y" and vice versa and I
[...]
> for Y,y,Z, and z ...
> (local-set-key "Y" (lambda () (interactive) (insert "Z")))
Commands needn't be functions -- they could be simple keyboard macros,
eg: (global-set-key "Y" "Z")
Re: Changing key bindings of printable chars, David Vanderschel, 2004/06/29