* macintosh command-key as control key?
@ 2003-11-18 15:13 Greg Trafton
2003-11-18 15:56 ` Pascal Bourguignon
2003-11-18 17:24 ` Gilbert Harman
0 siblings, 2 replies; 3+ messages in thread
From: Greg Trafton @ 2003-11-18 15:13 UTC (permalink / raw)
Hi, all. I'm playing with a new keyboard and would like to
experiment with changing the apple command key to the control key
instead of the meta key. what's the best way to do this? I don't
want to switch control and meta, just add the apple command key as
another way of typing control...
thanks!
greg
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: macintosh command-key as control key?
2003-11-18 15:13 macintosh command-key as control key? Greg Trafton
@ 2003-11-18 15:56 ` Pascal Bourguignon
2003-11-18 17:24 ` Gilbert Harman
1 sibling, 0 replies; 3+ messages in thread
From: Pascal Bourguignon @ 2003-11-18 15:56 UTC (permalink / raw)
Greg Trafton <trafton@itd.nrl.navy.mil> writes:
> Hi, all. I'm playing with a new keyboard and would like to
> experiment with changing the apple command key to the control key
> instead of the meta key. what's the best way to do this? I don't
> want to switch control and meta, just add the apple command key as
> another way of typing control...
>
> thanks!
> greg
In Emacs.app, on MacOSX, there are these two boolean variables:
mac-command-key-is-meta
mac-reverse-ctrl-meta
that should help you configure it as you want.
You may want to configure it also generally, with uControl, which
allow you to exchange any couple of special keys.
--
__Pascal_Bourguignon__
http://www.informatimago.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: macintosh command-key as control key?
2003-11-18 15:13 macintosh command-key as control key? Greg Trafton
2003-11-18 15:56 ` Pascal Bourguignon
@ 2003-11-18 17:24 ` Gilbert Harman
1 sibling, 0 replies; 3+ messages in thread
From: Gilbert Harman @ 2003-11-18 17:24 UTC (permalink / raw)
One (long) way to do it is to add to your .emacs
(setq mac-pass-command-to-system nil)
and then use global-set-key to duplicate all your bindings for control,
as in the following example (probably from Andrew Choi):
;; Mac commands in emacs
(global-set-key [?\A-x] 'kill-region)
(global-set-key [?\A-c] 'kill-ring-save)
(global-set-key [?\A-v] 'yank)
(global-set-key [?\A-q] 'save-buffers-kill-emacs)
Gil
On 11/18/03 10:13 AM, "Greg Trafton" <trafton@itd.nrl.navy.mil> wrote:
> Hi, all. I'm playing with a new keyboard and would like to
> experiment with changing the apple command key to the control key
> instead of the meta key. what's the best way to do this? I don't
> want to switch control and meta, just add the apple command key as
> another way of typing control...
>
> thanks!
> greg
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-11-18 17:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-18 15:13 macintosh command-key as control key? Greg Trafton
2003-11-18 15:56 ` Pascal Bourguignon
2003-11-18 17:24 ` Gilbert Harman
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 read-only IMAP folder(s) and NNTP newsgroup(s).