Ask A Question

Notifications

You’re not receiving notifications from this thread.

How does Chris open NERDTree by default when he runs "mvim ." ?

alksfhd asked in Tips

When I open a directory with mvim, I don't seem to be getting nerdtree. Instead, I get the regular directory buffer that is styled like nerdtree. When I open a file from this regular tree view, it replaces the tree viewer instead of opening beside it. How can I open directories with NERDTree by default in macvim?

Reply

Hey Liam!

So I use Janus for Vim. I'm guessing maybe it's a config option that comes by default then to do that if yours is different. They ship a lot of good defaults and I originally used it to just replicate my workflow from Sublime into Vim. I actually don't even know all the details of how they configure everything since it all worked out really nicely from a fresh install haha.

Maybe you can find their NERDTree config in the repo or you might like to just try out Janus itself.

Reply

I recommend using RubyMine , it's not free but worth the money.
Especially if you're taking Ruby/Rails as a serious job.
They also have a pretty good vim mode (coming from a vim only guy).

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,796+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.