Jonathan Tran on 28 Aug 2009 14:57:47 -0700 |
Thank you! That did help a lot! I used xmodmap and got this working on my linux machine now too. On Aquamacs, I also found this helpful to allow pasting into Emacs from other apps since you can no longer use command-v. (setq x-select-enable-clipboard t) So in total, on Aquamacs, I'm using: (setq mac-command-modifier 'control) (setq mac-pass-command-to-system nil) ; prevent apple-h from working (setq x-select-enable-clipboard t) ; allow pasting from other apps into Emacs Jon On Fri, Aug 28, 2009 at 1:26 PM, Philip<philip.fominykh@gmail.com> wrote: > > 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 >> >
|
|