且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Emacs.头盔包.如何在文件夹(不是git文件夹)和所有子文件夹中查找文件?

更新时间:2022-11-13 12:12:12

有两种方法适合您.在这两种情况下,请先使用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)).