Emacs.头盔包.如何在文件夹(不是git文件夹)和所有子文件夹中查找文件? [英] Emacs. Helm package. How find files in folder (not a git folder) and all subfolders?
问题描述
Windows 10(64位),Emacs 25.1,Helm软件包.
Windows 10 (64 bit), Emacs 25.1, Helm package.
要在任何文件夹(不是git,不是项目文件)中查找文件(例如 myfile.txt ),我使用命令 helm-find-file .这是工作.好吧.
To find file (e.g. myfile.txt) in any folder (not git, not project file) I use command helm-find-file. It's work. OK.
但是现在我需要在当前文件夹和所有子文件夹中找到 myfile.txt .我如何通过 helm 软件包来做到这一点?
But now I need to find myfile.txt in current folder AND all subfolders. How I can do this by helm package?
推荐答案
有两种方法适合您.在这两种情况下,请先使用helm-find-files
.
There's two ways that should work for you. In both cases, first use helm-find-files
.
1)进入要从其开始搜索的目录后,请按C-u C-x C-d
(这将递归运行helm-browse-project
).现在,您可以键入要查找的文件名,它应该在所有子目录中搜索.
1) Once you're in the directory that you want to start your search from, hit C-u C-x C-d
(this runs helm-browse-project
recursively). Now you can type the filename that you're looking for and it should search in all subdirectories.
2)或者,再次从helm-find-files
击中C-c /
(这将有效地运行find
(不确定在Windows中将如何运行)).
2) Alternatively, again from helm-find-files
, hit C-c /
(this effectively runs find
(not sure how well this will work in Windows)).
这篇关于Emacs.头盔包.如何在文件夹(不是git文件夹)和所有子文件夹中查找文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!