【问题标题】:How to define shortcuts using the mac 'command' key in aquamacs (or emacs)如何在 aquamacs(或 emacs)中使用 mac 'command' 键定义快捷方式
【发布时间】:2010-07-14 03:01:42
【问题描述】:

如何使用 mac 命令键定义 aquamacs 键盘快捷键。我希望 'command'-k 像 ctrl-k (杀戮线)一样行事。 提前致谢!

【问题讨论】:

    标签: macos emacs command shortcut aquamacs


    【解决方案1】:

    把它放在你的 .emacs 文件中:

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

    然后您可以在此行末尾使用指针按 C-x C-e 以激活命令,或者您可以保存文件并重新启动 emacs。

    【讨论】:

    • 谢谢,这正是我想要的
    猜你喜欢
    • 2011-06-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-04-29
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多