[Top][All Lists]

[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/

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)


On 11/18/03 10:13 AM, "Greg Trafton" <> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]