我试图让ido使用邪恶的ex命令(如:vsp ...或:b ...),但它似乎并不是自动工作的。目前我有:
(require 'ido)
(setq ido-everywhere t)
(ido-mode t)
(use-package ido-ubiquitous
:ensure ido-ubiquitous
:demand ido-ubiquitous
:init
(progn
(ido-ubiquitous-mode 1)))后来我需要邪恶:
(use-package evil
:ensure evil
:config
(progn
(evil-mode 1)
;; ....
))作为一项工作,我可以使用像(define-key evil-ex-map "e " 'ido-find-file)和一些自定义的东西来分割,但这并不理想。为什么上面的东西不能自动工作?
我正在使用Emacs 25.0.50.1的图形版本
发布于 2014-12-14 04:46:11
from the ido-ubiquitous source
ido-无处不在的功能是为了(几乎)每个使用标准完成函数“完成-读取”的函数启用ido样式的完成。
邪恶使用completion-at-point而不是completing-read来执行ex命令。虽然completion-at-point只是尝试完成游标之前的内容,但completing-read会用自己的行为显示自己的提示。因为邪恶在ex提示符中添加了自己的键绑定,所以对ex命令使用completing-read是不可行的。
https://stackoverflow.com/questions/27452078
复制相似问题