Is there something similar for emacs like vims'

2020-05-11 10:25发布

For vim there is a filesystem explorer called NERDtree: https://github.com/scrooloose/nerdtree

Surely an alternative or superior package exists for Emacs?

9条回答
来,给爷笑一个
2楼-- · 2020-05-11 10:56

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.

查看更多
冷血范
3楼-- · 2020-05-11 11:01

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).

查看更多
爱情/是我丢掉的垃圾
4楼-- · 2020-05-11 11:07

Have you looked at Speedbar ?

查看更多
兄弟一词,经得起流年.
5楼-- · 2020-05-11 11:07

Try out lusty-explorer. It's a well done plugin. Get it here

查看更多
一纸荒年 Trace。
6楼-- · 2020-05-11 11:12

I prefer dirtree (screenshot below) by Ye Wenbin. It feels pretty close to NERDTree / the TextMate drawer.

screenshot

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.

查看更多
▲ chillily
7楼-- · 2020-05-11 11:16

(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 discovered project-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 with RET or f, 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 like dired 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:

enter image description here

I don't use projectile or helm, but it has some integration.

查看更多
登录 后发表回答