Search code examples
vimnerdtree

How to automatically close NERDTree after a file has been opened?


The file is opened with the 'return' key on the current tab or with the 't' key to open it on a new VIM tab.


Solution

  • Try :help nerdtreequitonopen.