Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
When inside a session, I often end up with multiple tabs containing multiple split buffers and multiple "instances" of NerdTree buffers.
Is there a command to close all NerdTree buffers in the session ?
You can do this with the tabdo command:
This will execute the NERDTreeClose on every tab.
Required, but never shown