lukertty
V2EX  ›  Emacs

Emacs 自己已经包括了那么多按键组合,新写的函数只能绑定到 C-x 上了吗?

  •  
  •   lukertty · Oct 22, 2015 · 3191 views
    This topic created in 4050 days ago, the information mentioned may be changed or developed.

    到处都是 non-prefix key , C-h b 就没找到空的位置,大家是怎么解决的?

    4 replies  •  2015-10-22 23:44:04 +08:00
    kran
    kran
    Oct 22, 2015❤️1
    1
    用 spacemacs 解决滴。。
    senghoo
    senghoo
    Oct 22, 2015 via iPad❤️1
    2
    Prefix 可以自定义的 先 unset 一个不常用的然后自己定义就好。 http://www.emacswiki.org/emacs/PrefixKey

    还有同推荐 spacemacs.最近刚转过去,确实很棒。
    sinxccc
    sinxccc
    Oct 22, 2015❤️1
    3
    一般来说 C-c 加各种后缀是留给用户和第三方包的。

    不排除有些包已经用了一些,比如 org-mode 。
    lukertty
    lukertty
    OP
    Oct 22, 2015
    4
    @kran 谢谢!
    @senghoo 谢谢!解决了!
    @sinxccc 谢谢!

    解决方法
    ```lisp
    (global-unset-key "\C-q")
    (global-set-key (kbd "C-q r") 'eval-buffer)

    ```
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4341 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 08:51 · PVG 16:51 · LAX 00:51 · JFK 03:51
    ♥ Do have faith in what you're doing.