Closed UmbralReaper closed 3 years ago
How can I open NerdTree when a file is selected from the Startify menu, but not anywhere else. For example,
autocmd BufEnter * NERDTreeCWD
won't work because it will open on every new buffer.
Try putting this in your vimrc:
autocmd User StartifyBufferOpened NERDTreeCWD
Also see :h startify-autocmd for other options.
:h startify-autocmd
Thanks!
How can I open NerdTree when a file is selected from the Startify menu, but not anywhere else. For example,
won't work because it will open on every new buffer.