Nerdtree: NerdTree to show open buffers

Created on 13 Nov 2013  ยท  7Comments  ยท  Source: preservim/nerdtree

This is more like a request than an issue :)

Can Nerdtree show the list of open buffers say something like :NerdtreeBuffers

I know there is BufferExplorer but i dont like it for the simple fact that i have to predefine if i want the buffer in a tab/split/vsplit

Nerdtree is awesome ... i just need one command and then from the list i can open it however i want.

Most helpful comment

For anyone looking for the plugin @PhilRunninger mentioned above, looks like it moved to https://github.com/PhilRunninger/nerdtree-buffer-ops

All 7 comments

I'd like to see an integrated view where nerdtree lists the buffer name for the files open in a directory, for example:

Directory tree          Buffer number
src/
โ”œโ”€โ”ฌ model/
โ”‚ โ””โ”€โ”€ file1                 
โ”‚ โ””โ”€โ”€ file2                 1
โ”œโ”€โ”ฌ view/
โ”‚ โ”œโ”€โ”€ file3
โ”‚ โ””โ”€โ”€ file4                 3
โ”œโ”€โ”ฌ controller/
  โ””โ”€โ”€ file5                 2

I have looked around but with no luck.

Hi,

Take a look at this. Almost like NerdTree but for buffers.
https://github.com/jeetsukumaran/vim-buffergator

Thanks, but I already checked it out, but the difference I tried to make clear was I'd like to have a tree-centered view, which displayes the buffer number for those files which are opened. With buffergator, you only see the open buffers.

This is a neat idea, but I don't think it's a good fit for NERDTree.

This would be great

Check out this NERDTree plugin: https://github.com/PhilRunninger/nerdtree-highlight-open-buffers. It highlights any visible node that is open in Vim. It uses ctermfg=118, which on my setup is bright green.

For anyone looking for the plugin @PhilRunninger mentioned above, looks like it moved to https://github.com/PhilRunninger/nerdtree-buffer-ops

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hrqmonteiro picture hrqmonteiro  ยท  3Comments

PinheiroCosta picture PinheiroCosta  ยท  4Comments

kyoz picture kyoz  ยท  4Comments

milushov picture milushov  ยท  4Comments

nicknick63 picture nicknick63  ยท  6Comments