jeetsukumaran / vim-buffergator

Vim plugin to list, select and switch between buffers.
498 stars 49 forks source link

Bufferator restores my maximized gVim window. #9

Closed aaronbieber closed 12 years ago

aaronbieber commented 12 years ago

I always run gVim (in Windows) maximized. When I call BuffergatorToggle or BuffergatorOpen, the window "restores" (becomes un-maximized). This is annoying and probably shouldn't happen. My best guess is that it is due to a forcible resizing of the overall window in rows and columns, which causes gVim to attempt to scale the physical window to match.

It would be nice if that wouldn't happen. I've been using Ctrl-P's buffer browser but it sometimes doesn't list things I expect it to and is slow, so I've been looking for a replacement and Buffergator is nice all around, except for the window thing.

jeetsukumaran commented 12 years ago

Have you tried disabling resizing by adding the following to your _vimrc:

     let g:buffergator_autoexpand_on_split = 0
aaronbieber commented 12 years ago

Aha! Thank you Jeet, and thanks for the cool plugin!

On Mon, Jan 9, 2012 at 3:59 PM, Jeet Sukumaran < reply@reply.github.com

wrote:

Have you tried disabling resizing by adding the following to your _vimrc:

    let g:buffergator_autoexpand_on_split = 0

Reply to this email directly or view it on GitHub:

https://github.com/jeetsukumaran/vim-buffergator/issues/9#issuecomment-3420201

Aaron

ciryon commented 12 years ago

Awesome finally found this solution. In my opinion that resizing should be disabled by default. :-)

spncrlkt commented 11 years ago

Works for me, too. All hail Jeet!