这让我疯了。
我已将If you wish to have this formula's python executable in your PATH then add
the following to ~/.zshrc:
export PATH="/usr/local/opt/python/libexec/bin:$PATH"
绑定到一些有用的内容,但M-e
正在占用它。我尝试添加cc-mode
s,c-mode-hook
s,我在c-mode上试过c-mode-common
,即
eval-after-load
但每当我打开一个C文件时,(eval-after-load "c-mode"
'(define-key c-mode-map (kbd "M-e") nil))
仍然绑定到M-e
。如何禁用它并将其替换为我自己的绑定?
答案 0 :(得分:0)
也许你可以试试这个
(define-key c-mode-map [remap c-end-of-statement] 'your-useful-stuff)
或
(define-key cc-mode-map [remap c-end-of-statement] 'your-useful-stuff)