8

Is there any version of tree command that displays file structure as a tree structure, but in a way that I can interactively walk trough?

Why do I need it exactly - I am trying to simulate TextMate project drawer using vim and splitscreen with screen and "interactive" tree on the left. But if there is any better way than that, I would also like to hear it.

4
  • 3
    You could always run vim your_dir and hit i three times to list the directories as a tree. From there you can interactively walk through the tree.
    – user13742
    Jan 21, 2012 at 1:33
  • Oh, it seems I don't know everything about vim! Thanks! A little question - how do I resize the vim "window"? Jan 21, 2012 at 1:36
  • 3
    You can split the vim window vertically and horizontally with Ctrl+W+V and Ctrl+W+S, respectively. Anyway, I think what you want here is something like the vim nerdtree plugin.
    – user13742
    Jan 21, 2012 at 1:44
  • What are the differences between nerdtree and netrw? Jan 21, 2012 at 2:26

1 Answer 1

4

The nerdtree plugin for vim should do just that. It gives you a tree view of your filesystem inside vim that can be used interactively. It supports a dozen features such as bookmarking files, syntax highlighting, mouse support, tree filtering and more. Generally, good stuff to have when working on projects that span multiple files and directories.

1
  • Sorry I am accepting your answer 2 years later, I just sort of forgot about it earlier. :) Jan 26, 2014 at 23:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .