emacs smartscan更改密钥绑定

时间:2016-07-29 15:46:29

标签: emacs key-bindings

我已在emacs 24中安装了smartscan,但默认的键绑定接管了使用emacs shell转到命令历史记录中上一个下一项时所需的M-n和M-p键。

;;添加VIM就像超级星*搜索到带有M-n,M-p键的emacs (global-smartscan-mode t);;全局启用云安全扫描

如何使用configure smartscan使用不同的键绑定并保留M-n,M-p绑定?

1 个答案:

答案 0 :(得分:0)

您正在寻找List<ViewingViewModel>

smartscan-map

或者,您只能在(with-eval-after-load "smartscan" (define-key smartscan-map (kbd "C-c s M-n") 'smartscan-symbol-go-forward) (define-key smartscan-map (kbd "C-c s M-p") 'smartscan-symbol-go-backward) (define-key smartscan-map (kbd "C-c s M-'") 'smartscan-symbol-replace)) 中启用smartscan-mode(这可能是它唯一有用的模式)。这就是我的工作。它似乎不会影响prog-modeeshell,但我只是做了一个快速测试,因为我通常不会使用它们。

shell