[OS X Emacs] Re: Re: Aquamacs: Many commands without shortcuts

David Reitter david.reitter at gmail.com
Wed Sep 14 18:24:40 EDT 2011


On Sep 14, 2011, at 5:29 PM, Marius Hofert wrote:
> 
> thanks for the hint. I know this could be achieved the "Mac-way", but I want to
> learn who to do it in emacs. Here is what I have so far:
> 

> 
> (define-key osx-key-mode-map [(A S t)] 'tabbar-move-current-buffer-to-new-frame)

> 
> I can also see CMD + shift + T right next to the entry "Move Tab to New Frame" 
> in the menu "Window".

And, for the benefit of people who might see this in the archives:

To find out what command to bind, just enter C-h k, then select the menu item with the mouse.  A *Help* buffer will pop up, showing the name of the command.

In the key description [(A S t)], 

"A" stands for the Apple Command key [in Aquamacs],
"S" for Shift.

The code goes in Preferences.el.


--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!




More information about the MacOSX-Emacs mailing list