carlhuda/janus — Issue #382: NERDTree mirror mode by default
Author: technosophos
Created: 2012-01-26 03:58:40+00:00
State: open

When opening a new tab, and then using `n`, NERDTree opens with `:NERDTreeToggle`. This shows the directory structure in its original state, not in the same state as the NERDTree on the other tab.

I don't know whether this is generally preferable or not, but it seems to me that the most expected behavior (when compared with other editors) would be to use `:NERDTreeMirror` to keep all of the NERDTrees in sync.

I've been testing this as a way of accomplishing it:

~~~
map n :NERDTreeToggle :NERDTreeMirror
~~~

This seems to work well in cases where one is using multiple tabs. I thought I would suggest that it be made the default configuration for Janus.