Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [plugin-nerdtree]

For questions about the plugin nerdtree: A tree explorer plugin for Vim.

Filter by
Sorted by
Tagged with
6 votes
3 answers
4k views

Prevent NERDTree from switching tabs when opening a file node?

In NERDTree, if I select a file node and hit o, it opens the file in a window in the current tab. However, if that particular file is already open in another tab, NERDTree switches to that tab. I find ...
Morton Fox's user avatar
24 votes
2 answers
23k views

How do I change the default size of plugin window (NerdTree, Taglist, etc)?

I'm using the Taglist and NerdTree plugins quite often. Usually the window that opens in the left side is too small and I need to extend it. I usually do: 10 CTRL+w > Is there a way to change the ...
stdcall's user avatar
  • 1,039
11 votes
1 answer
4k views

NERDTree How to open a file and automatically close the explorer buffer

When using NERDTree plugin the default behavior is to open a new file and keeping the NERDTree buffer open. What I want to do is to keep this default behavior but also overriding it when I want so the ...
statox's user avatar
  • 50k
5 votes
1 answer
2k views

Why `NERDTree` doesn't trigger the autocommand `BufEnter`?

I am writing a vimscript function which should keep in a consistent state a "home made buffer manager". The idea is that I want to keep a trace of my buffers in the tabs they were open in. This "...
statox's user avatar
  • 50k
2 votes
1 answer
343 views

NerdTree cd vs CD

I'm not quite sure of the difference between cd and CD in NERDTree. It seems to actually cd into a directory I have to do cdCD, so for me they are kind of mushed together. From the docs it says: CD --...
David542's user avatar
  • 2,455
1 vote
1 answer
166 views

NERDTree Leaving Empty Space on Bottom of Window

I've been using NERDTree forever, but recently it started doing something odd. When I open the NERDTree Menu, it adds this block of space at the bottom of the window, and I can't get rid of it (...
Brian Ray's user avatar
  • 123