38

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

Surely an alternative or superior package exists for Emacs?

mit
  • 11,083
  • 11
  • 50
  • 74
qrest
  • 3,083
  • 3
  • 25
  • 26

9 Answers9

46

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.

heyzk
  • 563
  • 4
  • 7
34

You can try NeoTree .

https://github.com/jaypei/emacs-neotree

Screenshot:

NeoTree

jaypei
  • 341
  • 3
  • 3
9

Have you looked at Speedbar ?

carlosdc
  • 12,022
  • 4
  • 45
  • 62
6

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.

Trey Jackson
  • 73,529
  • 11
  • 197
  • 229
6

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.

pjammer
  • 9,489
  • 5
  • 46
  • 56
  • 11
    `ido-mode` and `projectile` with their fuzzy search are extremely useful when you already know the project you work on and it's file names in particular. But directory tree view is still very helpful when you're just exploring the project and don't know what to search. – roman-kashitsyn Aug 26 '13 at 08:05
  • personally if i am 'surfing' my directories i use C+x C+d or dired mode for such things. Or the explorer/Finder which has more helpful 'get to know the environment' gui. or ls -la in terminal. or my grep command in console to grep for an exact match in the files (if needed). The great thing about our linux is there are many ways to skin this cat. I feel you, but I think separating church and state here is a great thing. – pjammer Aug 26 '13 at 10:45
  • I gotta agree about `ido-mode` and `projectile` but just wanted to throw in `ack-and-a-half` too. With those three I'm more productive than anything while searching through files. – Mike H-R May 13 '14 at 21:12
  • helm-projectile is also a nice way of quickly finding files in a project. – Tim Stewart Sep 19 '14 at 21:40
5

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.

Haakon Løtveit
  • 277
  • 3
  • 2
3

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

bendin
  • 9,424
  • 1
  • 39
  • 37
  • 1
    It depends a lot on what your requirements are of course, but I think dired is better than many people give it credit for. Also, the built-in `dired-x` library with its oh-so-useful `dired-jump` command and binding is disabled by default, which is a shame. See `(info "(dired-x) Miscellaneous Commands")` and `(info "(dired-x) Optional Installation Dired Jump")` – phils Aug 27 '11 at 11:16
2

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

Community
  • 1
  • 1
Brady Trainor
  • 2,026
  • 20
  • 18
1

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

Evanson w.
  • 11
  • 1
  • 2