Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nerdtree winSize auto #259

Closed
hereket opened this issue May 7, 2013 · 6 comments · Fixed by #1008
Closed

Nerdtree winSize auto #259

hereket opened this issue May 7, 2013 · 6 comments · Fixed by #1008

Comments

@hereket
Copy link

hereket commented May 7, 2013

When I open nerdtree it opens exactly the half size of the terminal/gvim width.
It is standard NERDTree without any changes. (I have couple of mappings to open it). As far as I remember it wasn't like this before. Is there any way to change it?

@Nekuromento
Copy link

Have the same issue

@willwright82
Copy link

+1 After updating to VIM 8

@redbrain17
Copy link

Same issue with Version 7.4.52

@lifecrisis
Copy link
Contributor

lifecrisis commented Mar 28, 2018

Someone just posted this on the Vim users mailing list. Can anyone here give a specific set of steps to follow so that I can replicate this bug?

I've never seen the NERDTree behave in this way, but I can fix it if I can observe the problem in action.

@genotrance
Copy link

I have steps to reproduce this - I just loaded the minibufexpl plugin and since then, nerdtree shows this issue.

let g:miniBufExplAutoStart = 1
let g:miniBufExplVSplit = 20
let g:miniBufExplBRSplit = 1
let g:miniBufExplBuffersNeeded = 0

iThis shows my buffers in a vertical split on the right. If I now open nerdtree, it takes up half the window. If minibufexpl doesn't load first (don't autostart and unset buffers needed) and you open nerdtree first and then minibufexpl, then nerdtree works correctly.

Also, once nerdtree is at half width and I pull it back to the right size, all toggles after that show the right width.

Hope this helps root cause this issue.

@bttf
Copy link

bttf commented Nov 26, 2018

For me, it was winwidth being set in my vimrc that was being applied to my NERDTree window, causing it to be larger than it should be. This only started happening recently. Ideally I would like to keep my winwidth setting while not having it applied to the NERDTree window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants