문제

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?

도움이 되었습니까?

해결책

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

I had to add to ~/.vimrc.after

augroup AuNERDTreeCmd
  autocmd!
augroup end

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top