gpt4 book ai didi

emacs - 如何在 Emacs 中重新绑定(bind) ctrl ret?

转载 作者:行者123 更新时间:2023-12-04 18:22:49 24 4
gpt4 key购买 nike

我似乎无法在 Emacs 中重新绑定(bind) ctrl-ret。我广泛搜索了谷歌,但在少数情况下,有一些如何重新绑定(bind)它的例子,那个例子不起作用。
我想取消当前绑定(bind),并用新绑定(bind)替换它。我该怎么做呢?

最佳答案

I searched Google extensively, but in the few cases where there was some example of how to rebind it, that example didn't work.



你试过什么没用?这适用于我在 Windows 7 上的 Emacs 24 中:

(global-set-key [(control return)] 'foobar)

更新 : cua 模式使用 define-key ,试试这个:

(define-key cua-global-keymap cua-rectangle-mark-key 'foobar)

关于emacs - 如何在 Emacs 中重新绑定(bind) ctrl ret?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10316102/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com