[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: Philip <philip.fominykh@gmail.com>
- To: philly-lambda@googlegroups.com
- Subject: Re: emacs key bindings
- Date: Fri, 28 Aug 2009 13:26:20 -0400
- Authentication-results: gmr-mx.google.com; spf=pass (google.com: domain of philip.fominykh@gmail.com designates 209.85.212.180 as permitted sender) smtp.mail=philip.fominykh@gmail.com; dkim=pass (test mode) header.i=@gmail.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to :received:received:received:received-spf:received:dkim-signature :domainkey-signature:mime-version:content-type :content-transfer-encoding:received:in-reply-to:references:date :message-id:subject:from:to:x-google-approved:reply-to:sender :precedence:x-google-loop:mailing-list:list-id:list-post:list-help :list-unsubscribe:x-beenthere-env:x-beenthere; bh=AzuT12Z+MY7EwaixnQWhwDVQk50ylprdzsKYSSG+rbI=; b=jCK0rSK34oHDE70b28sIgacXKGmlV4Aoj5UHsnUcyExC/858UpxpSSoryleeCmFnus j2KYXbyZE6ybRXvwnTpincGUICiFgu/7w++8H5WQRbIm/zueT8nYmqQoqHyeX2hSl5cs WAfOj7f0QKOdD4N8EgXYamquILDid1bXQxsVw=
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=sN7dyGP9cqaZUqQKPI3k/7QOAlNcbwZU1ylTtZIEfcU=; b=wkm0YHfYa9F/zTJ8Ltl2S31cOVFjEp4cd5OIWhlLzHW/jCbYYedS30Twc3zn23Bk5X JDJh0ThWRkzLvxljZ8BQd57RZYy5Eoh+D4WB3iocsby0kbxnmIcw26LYSqS9tp/NjtdJ ty0qKV1kvhqqLeNp5e9ffupDDuk9W9wwAIkq4=
- Mailing-list: list philly-lambda@googlegroups.com; contact philly-lambda+owner@googlegroups.com
- Reply-to: philly-lambda@googlegroups.com
- Sender: philly-lambda@googlegroups.com
Hello,
I guess the question was answered already, but here are the details of
my setup. I use the standard layout in normal mac applications, but I
move ctrl globally on windows, linux and X11 on mac. The only
annoyance left is emacs in Terminal.app, but I'm working in
inputmanager haxy on and off, that might actually get finished one day
:)
On Mac
For Carbon Emacs (including Aquamacs)
(setq mac-command-modifier 'control)
(setq mac-option-modifier 'meta)
(setq mac-control-modifier 'super)
(setq mac-pass-command-to-system nil) ; prevent apple-h from working
For Cocoa Emacs (23 version)
(setq ns-command-modifier 'control)
(setq ns-alternate-modifier 'meta)
(setq ns-control-modifier 'super)
Under X11 I use xmodmap. I run `xev' to get keycodes, then plug them
into xmodmap file below. (The keycodes are for X11 on my mbp.)
clear control
clear mod1
clear mod2
keycode 63 = Control_L
keycode 66 = Meta_L
keycode 84 = Meta_R
keycode 67 = Super_L
keycode 71 = Control_R
add control = Control_L Control_R
add mod2 = Meta_L Meta_R
add mod4 = Super_L
And on windows I use KeyTweak http://webpages.charter.net/krumsick/.
Hope that helps,
Philip.
On Thu, Aug 27, 2009 at 22:52, Jonathan Tran<jonnytran@gmail.com> wrote:
>
> Philip,
>
> you talked about rebinding Control to the Command key in emacs for mac
> and to Alt on windows. I think this is a great idea, and I want to
> try it. I did a quick google and it wasn't obvious how to do. Can
> you teach us?
>
> Jon
>
|
|