Wednesday, March 28, 2018

Re: NERDTree opens half of screen instead of NERDTreeWinSize

Oliver,

When you run ":wincmd =" you tell Vim to equalize window sizes to the best of its ability.

This is definitely the cause of your problem.  I would rethink both of those autocommands.
They would likely break a number of different plugins.

Best,
Jason

----------------------------------------
Jason R. Franklin
Associate Systems Software Developer
Enterprise Technology Solutions


Georgia Southern University
P.O. Box 8088
Statesboro, GA 30460
912.478.5639


On Wed, Mar 28, 2018 at 2:30 PM, Oliver Graute <oliver.graute@gmail.com> wrote:
On 28/03/18, Jason Franklin wrote:
> On Tuesday, March 27, 2018 at 1:51:12 PM UTC-4, Oliver Graute wrote:
> > On 24/03/18, Oliver Graute wrote:
> > > my NERDTree seems to ignore my NERDTreeWinSize setting and opens instead
> > > at half of the screen. Some ideas how to fix this?
>
> NERDTree maintainer here (@lifecrisis on Github).
> This probably hasn't been fixed because no one has given us specific steps to replicate the bug.  Is there a specific sequence of steps that will always lead to this problem?  I can't fix it if I can't observe the issue.  I've also never seen this happen while using the NERDTree.
>
> Can you give explicit instructions on how to replicate this behavior?

These lines in my vimrc are the cause for this behavior of NERDTree:

:au WinEnter * :set winfixheight
:au WinEnter * :wincmd =

after removing them NERDTree opens at NERDTreeWinSize

is this some resizing of vertical splits?

Best Regards,

Oliver

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to a topic in the Google Groups "vim_use" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_use/ckDvFxa4UZQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: