Answers:
将此Elisp代码放在~/.emacs
启动文件的底部:
(global-unset-key (kbd "<left>"))
(global-unset-key (kbd "<right>"))
(global-unset-key (kbd "<up>"))
(global-unset-key (kbd "<down>"))
(global-unset-key (kbd "<C-left>"))
(global-unset-key (kbd "<C-right>"))
(global-unset-key (kbd "<C-up>"))
(global-unset-key (kbd "<C-down>"))
(global-unset-key (kbd "<M-left>"))
(global-unset-key (kbd "<M-right>"))
(global-unset-key (kbd "<M-up>"))
(global-unset-key (kbd "<M-down>"))
然后重新启动Emacs。如果您不想禁用Ctrl(C-
)和Alt(M-
)变体,只需将这些部分留在外面即可。
此链接也可能相关(我刚刚开始使用的链接):
C-s
C-r
搜索样式导航会更好。