senny / cabbage

get the maximum out of emacs
http://senny.github.com/cabbage/
156 stars 21 forks source link

ergoemacs keybindings in GUI vs terminal (OS X) #202

Closed ghost closed 10 years ago

ghost commented 10 years ago

M seems to be bound to Command in GUI mode, but back to Alt in the terminal.

senny commented 10 years ago

Using Command as meta in the terminal is quite the challenge. See #159 for further discussion.

I'm not sure we can actually make the situation any better.

ghost commented 10 years ago

Under Linux, on Ubuntu at least, seem to be possible to re-assign meta to the "Win keys" - key code 133 I think (which on a Mac, map to the Command key). Though interacts with Unity's menu inovcation (which can be disabled I guess) but it does sound like a usability mess....

screenshot from 2013-10-12 18 04 47

senny commented 10 years ago

@tonini I know you tried to use the Apple key as Meta but there were troubles. Is there anything we can do. Or is this something that the user needs to deal with by himself?

tonini commented 10 years ago

@usharf @senny Unfortunately there is no way to get around this problem just via Emacs. I just have the experience in the case of OSX and running Emacs in iTerm. To made this all happen I had to use https://pqrs.org/macosx/keyremap4macbook/ and map Command_L to Option_L and inside of iTerm map Option L to ESC+

senny commented 10 years ago

I see.. that's what I remembered. I'd accept documentation PR's to describe the setup for different operating systems but there is not much we can do to support it out of the box.

@usharf thanks for reporting.