1

是否有一个包或emacs内置的东西可以在目录结构(即项目目录)内进行模糊文件名匹配,模仿Sublime和Intellij中的快速打开。

我不需要它在应用程序中间弹出一个文本输入 UI,并在下面以下拉形式列出可能的匹配项,并在我键入时更新。只是它符合该功能的意图。

4

2 回答 2

1

I have only a vague idea of Sublime, but you might be looking for Projectile's find-file command. It also has the same to find inside a directory (not a project). It comes with various matching possibilities, with an helm interface with helm-projectile, which can be replaced by ido.

It is not buit-in though, you have to install it with the package manager, package.el: M-x package-install RET projectile RET, once it is configured.

于 2016-03-21T22:26:28.183 回答
0

将以下内容放入您的init 文件(例如,~/.emacs或)中,以获得带有( )~/.emacs.d/init.el的文件名的模糊匹配:find-fileC-x C-f

(ido-mode t)
(setq ido-enable-flex-matching t)
于 2016-03-22T14:03:53.650 回答