Command as Ctrl in Emacs (OS X) #292
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm aware that when running CRT on Mac, the "Command" key gets interpreted as Ctrl. (This was pointed out in another issue.) This is fine, except that the Command-c and Command-v shortcuts are already used for "Copy" and "Paste", which means then when running Emacs, I cannot use shortcuts that involve Ctrl-c and Ctrl-v (for which I have to type Command-c and Command-v)! This is a significant problem, because the only way to quit Emacs is to type Ctrl-x Ctrl-c.
It would be good if either
I have tried the latter with a third-party app (BetterTouchTool), but it doesn't work.
Thanks again for the app! I would really love to be able to use it for all my terminal needs, but this is the one thing standing in the way….
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
I tried removing references to "copyAction" and "pasteAction" in various .qml files, as well as changing main.qml so that copyAction is defined as "" rather than "Ctrl+Shift+C". (I then recompiled the app.) Nothing seems to work; the menus still show Cmd-C and Cmd-V as copy and paste shortcuts, and these shortcuts are still in effect.
Well, even I am using OS X, I prefer Ctrl key when I use emacs. It may be better to choose that which key acts as Ctrl key in the Preference window.
@beebopkim In my
.emacs
file, I have actually mapped the "option" key on my Mac to act as Ctrl. But still in CRT it only understands the "Command" key as Ctrl, and Escape as Meta. Where is the "Preference" window where I can choose the key that acts as Ctrl? I don't see any option for this in the CRT Preference window.Are you able to get Ctrl-c, Ctrl-x and Ctrl-v shortcuts working properly in Emacs under CRT?
I can type Ctrl+C with Control+C as you expect, so for instance I'm able to trigger a SIGINT signal with Control+C. I can confirm that Command+C copies the text, but Command+D and Ctrl+D both send EOF as you expect.
This patch fixed the issue for me.
65225a5c47
The Command+Control+key workaround documented in #378 works for me consistently, as of v1.0.1 on macOS 10.13.6.
Anyone know if the qmltermwidget patch fixes all the other related Control-key-related problems on macOS ?