jeetsukumaran / vim-buffergator

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

Panel showing the buffers wrong hsplit_size, correct after :source #33

Closed dewey closed 9 years ago

dewey commented 9 years ago

Hello,

I just setup vim-buffergator and it's mostly working great but I'm running into one problem where buffergator is ignoring my settings. My configuration looks like this: https://github.com/dewey/dotfiles/blob/master/vim/.vimrc#L130

Steps to reproduce:

Another thing I noticed is that g:buffergator_autodismiss_on_select is also getting ignored, it's not hidden once I select a buffer. It's obviously not ignoring let g:buffergator_viewport_split_policy = "T" because that seems to work.

Any idea what's wrong there? Thanks!

jeetsukumaran commented 9 years ago

I have fixed the first issue.

With the second, your configuration has let g:buffergator_autodismiss_on_select = 0, so you are explicitly instructing the Buffergator window NOT be hidden on selection of file, which is, indeed, the behavior you describe.

Did you mean to have let g:buffergator_autodismiss_on_select = 1 instead?

dewey commented 9 years ago

Just updated to the latest version and it's working now, thanks for the very quick fix! And about that second part...you are right, I guess I was a bit too sleepy when I changed that setting.

Issue closed by commit f7b47666e62b36e6b825a7803a4f82f83ca448aa

Thanks again!