2011-02-04 62 views

回答

2

嗯,我不認爲這是可能的,至少我不知道任何解決方案。 NERDTree窗口以屏幕方式定位,即使您打開另一個窗口並切換樹,它也會影響單個窗口。

我一直在尋找幫助,但我發現的最接近的話題是關於窗口定位。它隻字未提多個窗口,而是表明一個獨特的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」在目錄節點接近理想的結果,這將打開一個新的垂直窗口與NERDTree的特點,但沒有定位。

所以我當時可能需要重新調整,以便打開要編輯的文件具有更大的遵:

vert resize 30 

,並可能設置的高度和新的NERDTree窗口的寬度,因此不會跟上新的文件移動:

set wfw 
set wfh 

,然後每一次我嘗試打開一個節點出了新的窗口(與「S」),它向右移動,所以我需要將它與回遷。我不得不承認。我不得不承認。

在這種情況下,問題的答案是否定的,在NERD Tree的當前狀態

相關問題