jistr/vim-nerdtree-tabs — pull request #21 by ereOn (2012-07-04 09:52:47+00:00)
Title: Added NERDTreeSteppedOpen/NERDTreeSteppedClose functions

I added two functions that I personally find useful and that might be of use to other people.

The need is explained in that [Stack Overflow question](http://stackoverflow.com/questions/11325044/how-to-customize-nerdtree-behavior) but basically is:

* `:NERDTreeSteppedOpen` focuses the NERDTree, opening one if none is present.
* `:NERDTreeSteppedClose` unfocuses the NERDTree if it has focus, or closes it otherwise.

Mapped respectively on and , it allows a natural open/close for NERDTree.

Not sure that you like my suggestion, but I thought it might be interesting, hence the pull-request.

Whatever your decision, thanks for your work !