Pregunta

I'm using Janus for Vim customizations.

One thing that bothers me is that it opens NERD Tree in a separate buffer on start. I don't want to disable NERD Tree completely. Just want to not get it opened on start.

Is there a way without tweaking the internals of Janus?

¿Fue útil?

Solución

Finally figured it out based on the Janus configuration mentioned by @romanl.

I had to add to ~/.vimrc.after

augroup AuNERDTreeCmd
  autocmd!
augroup end

Otros consejos

Yet another "plugin distribution for Vim" user who chose to give complete control over his Vim configuration to someone else and has no idea how to change the default behaviour. Yeah, "easy" is so better than "hard".

This behaviour is probably defined in an autocmd, somewhere in your "janus" directory or whatever it uses to store its things. Maybe here.

You should probably take this as an opportunity to rethink your choice, drop Janus entirely and adopt a saner configuration strategy.

If you are the one adding/removing stuff to your ~/.vimrc and installing plugins, you simply can't find yourself in such a situation.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top