Is it possible to have 2 Nerd Trees in one view in vim

I am using vim 7.3 and the NERDTree 4.1 plugin.

I am trying to get 2 NERDTrees to appear on the same tab, but cannot find how to do this, so I'm on the verge of calling this day.

Just wondering if anyone is new, if that was possible, and if so, how?

+3
source share
2 answers

Hmm, I don’t think it’s possible, at least I don’t know any solution. The NERDTree window is positioned differently, even if you open another window and switch the tree, this will affect one.

, , , . , , NERDTree:

------------------------------------------------------------------------------
                                                             'NERDTreeWinPos'
Values: "left" or "right"
Default: "left".

This option  is used  to determine  where NERD  tree window  is placed  on the
screen.

This  option  makes  it  possible   to  use  two  different  explorer  plugins
simultaneously. For example, you could have  the taglist plugin on the left of
the window and the NERD tree on the right.

------------------------------------------------------------------------------
+2

, 's' node, NERDTree, .

, , , :

vert resize 30

, , NERDTree, :

set wfw
set wfh

, node ( 's'), , .

CTRL-W_H

.

In this case, the answer to the questions is no, in the current state of the NERD tree

+2
source

Source: https://habr.com/ru/post/1790031/


All Articles