emacs 是否有类似 vims 的 NERDtree 之类的东西
对于 vim,有一个名为 NERDtree 的文件系统浏览器:https://github.com/scrooloose/nerdtree
Emacs 是否存在替代或高级软件包?
For vim there is a filesystem explorer called NERDtree: https://github.com/scrooloose/nerdtree
Surely an alternative or superior package exists for Emacs?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
我更喜欢叶文斌的
dirtree
(下面的截图)。感觉与 NERDTree / TextMate 抽屉非常接近。我花了几分钟的尝试和错误才弄清楚依赖关系,所以请看一下安装说明(并对源代码进行了一些小的编辑)我在这个 repo 中找到了。
I prefer
dirtree
(screenshot below) by Ye Wenbin. It feels pretty close to NERDTree / the TextMate drawer.It took me a few minutes of trial and error to figure out the dependencies, so take a look at the install instructions (and a few minor edits to the source) I've got in this repo.
您可以尝试 NeoTree 。
https://github.com/jaypei/emacs-neotree
屏幕截图:
You can try NeoTree .
https://github.com/jaypei/emacs-neotree
Screenshot:
您看过 Speedbar 吗?
Have you looked at Speedbar ?
Sunrise Commander 似乎是一个编写良好的软件包,并且它有一个 树扩展。有关正在运行的树扩展的屏幕截图,请点击此链接。
The Sunrise Commander seems to be a well written package, and it has a tree extension. For a screenshot of the tree extension in action, follow this link.
当你拥有强大的 ido-mode 时,谁还需要任何树。如果您可以训练您的思维来查找文件,而不仅仅是用眼睛来视觉查找文件,那么您就会获胜。不需要告诉我生物学是如何运作的,我不在乎:-)你明白了。
Who needs any tree, when you have the mighty ido-mode . If you can train your mind to find the files, rather than just your eyes whilst visually finding it, you will win. NO need to tell me how biology works, i don't care :-) you get the point.
就我个人而言,我更喜欢欧洲央行的树模式。
http://ecb.sourceforge.net/
您还应该查看 CEDET 的内容。
http://cedet.sourceforge.net/
它们包含许多其他有用的东西,您可以使用它们来满足类似的开发需求。
Personally, I prefer the ECB's tree mode.
http://ecb.sourceforge.net/
You should also check out the CEDET stuff.
http://cedet.sourceforge.net/
They contain a lot of other useful stuff that you can use for similar development needs.
我使用了一些 emacs-nav 和一些 dired 导航我的项目的文件树。对于文件管理任务,我主要使用 bash(通常在 emacs 中)。
I use a little of emacs-nav and a little of dired to navigate my projects' file trees. For file management tasks, I mostly use bash (often from within emacs).
(来自 Emacs 的一个好的项目树浏览器? - Stack Overflow 的无耻回复)
我刚刚搜索了“explore” ”在
package-list-packages
中,并发现了project-explorer
。似乎完全符合我今天想要的(我不怎么编码,而是掌握 Jekyll 网站的结构)。键包括用于折叠和展开目录的
TAB
。使用RET
或f
打开文件,但带有前缀,它会很好地提示哪个窗口,甚至从那里允许您决定使用窗口或打开一个新窗口到任何一边(我没有在包代码中找到提示字符串,因此它似乎很好地利用了内置的 Emacs 功能;事实上,它甚至看起来像dired
)。它在 Melpa 和 Marmalade 上可用,打包的描述指向 sabof_project-explorer · GitHub。
为了方便起见,我添加了网站的图像:
我不使用
projectile
或helm
,但它有一些集成。(Shameless reanswer from A good project tree browser for Emacs? - Stack Overflow)
I just now did a word search for "explore" in
package-list-packages
, and discoveredproject-explorer
. Seems to fit exactly what I want today (I don't code hardly, but getting a grip on the structure of my Jekyll site).Keys include
TAB
for folding and unfolding directories. Open files withRET
orf
, but with prefix, it will prompt nicely for which window, and even from there allow you to decide to use window or open up a new one to any side (I didn't find the prompt string in the package code, so it seems to leverage built in Emacs functionality nicely; indeed it looks likedired
even).It's available on Melpa and Marmalade, and packaged description points to sabof_project-explorer · GitHub.
I include the site's image for convenience:
I don't use
projectile
orhelm
, but it has some integration.尝试一下 lusty-explorer。这是一个做得很好的插件。
在此处获取
Try out lusty-explorer. It's a well done plugin.
Get it here