[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: macintosh command-key as control key?
From: |
Gilbert Harman |
Subject: |
Re: macintosh command-key as control key? |
Date: |
Tue, 18 Nov 2003 12:24:43 -0500 |
User-agent: |
Microsoft-Entourage/10.1.4.030702.0 |
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