1

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 ?

2

You can do this with the tabdo command:

:tabdo NERDTreeClose

This will execute the NERDTreeClose on every tab.

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.