如何使用 mac“命令”定义快捷方式输入 aquamacs(或 emacs)

发布于 2024-09-10 10:12:03 字数 85 浏览 1 评论 0原文

如何使用 mac 命令键定义 aquamacs 键盘快捷键。我希望 'command'-k 的作用类似于 ctrl-k (kill line)。 提前致谢!

How can I define an aquamacs keyboard shortcut using the mac command key. I'd like 'command'-k to act like ctrl-k (kill line).
Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏见 2024-09-17 10:12:03

将其放入您的 .emacs 文件中:

(global-set-key (kbd "A-k") 'kill-line)

然后您可以使用该行末尾的指针按 Cx Ce 以使命令处于活动状态,或者您可以保存文件并重新启动 emacs。

Put this in your .emacs file:

(global-set-key (kbd "A-k") 'kill-line)

Then you can either press C-x C-e with the pointer at the end of this line to make the command active, or you can save the file and re-start emacs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文