Mateus Vahl
Mateus Vahl

Reputation: 989

NerdTree window size is too large when current directory "."

Every time I type

vim .

and select some file, nerdtree is too large. there's a way to fix it?

nerdtree is large

Upvotes: 1

Views: 2504

Answers (2)

alpha_989
alpha_989

Reputation: 5350

This happened tom me, recently.

Try this

let g:NERDTreeWinSize=31

Then type

:NERDTree

Don’t use ‘:NERDTreeToggleor:NERDTreeFind, as it doesn’t reset the window size. Only:NERDTree does`

Upvotes: 6

Xiaotian Pei
Xiaotian Pei

Reputation: 3260

you can set the size of windows like let g:NERDTreeWinSize=20

Upvotes: 5

Related Questions