wimproved.vim
wimproved.vim copied to clipboard
Calling :WToggleClean several times, resizes the gvim window so much, that the command line is no longer visible
First, great plugin. I like the idea. However, I started playing around and noticed that once you issued :WToggleClean
commands several times, the window border will slighlty increase more and more (on the second :WToggleClean command, i.e. the command that disable the clean command), making the effective window size smaller and smaller, until you can't tell what will be entered in the command line.
I believe this is fixed in the dev branch. If you can confirm that for me I'd be happy to publish a new version and close this.
On Mo, 04 Jan 2016, kkoenig wrote:
I believe this is fixed in the dev branch. If you can confirm that for me I'd be happy to publish a new version and close this.
Can you provide the binaries for that branch as well please? Thanks.
Best, Christian
I'm still running into this, but I noticed if you comment out these lines you'll at least be able to see underscores and the command line stops shrinking:
https://github.com/kkoenig/wimproved.vim/blob/f824a382753716f82f4f8528494a463426126300/wimproved.c#L223-L224
It looks like subtracting the clean/unclean child window deltas every call is shrinking the child/vim text area window.
(Edit: also seems related to #31 )