Most GUI text editors have a "project pane" that's just a directory tree that you use to choose what file you're currently editing.

What's a terminal text editor (or a VIM/emacs plugin) with this feature?


For Vim, the NERD tree plugin does this pretty well.

| improve this answer | |

You can use slap - a Sublime-like terminal-based text editor.

| improve this answer | |
  • this slap is good, lots of features – datdinhquoc Oct 3 '18 at 4:53

Vim commonly ships with the netrw.vim script, which, amongst other things, supports both local and remote directory browsing. It is triggered by simply editing a directory, e.g. :edit ..

As Greg Hewgill pointed out, Nerd Tree is another popular directory browsing plugin. It essentially replaces the directory browsing features of the netrw.vim script when installed, i.e. :edit . will trigger Nerd Tree instead. Nerd Tree also offers configuration options for, for instance, automatically opening a directory pane on startup and adjusting the placement of the split window it opens in.

If you make use of tabs in Vim, and would prefer NerdTree to be persistent across tabs, there's a script for that as well.

| improve this answer | |

There are a lot of this kind of emacs plugins.
you'll need choose one of your own liking.
check this page out:

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.