zefei / vim-wintabs

Modern buffer manager for Vim
MIT License
325 stars 25 forks source link

If two files are opened only first is displayed in wintabs #53

Closed astier closed 4 years ago

astier commented 4 years ago

If I open two files with nvim only the first one is shown in wintabs. After executing :bnext the second file is also shown in wintabs.

I would expect that both files would be displayed from the beginning.

I use neovim 0.4.2

astier commented 4 years ago

Both are also shown after executing :WintabsAllBuffers. Maybe I don't understand how wintabs is supposed to work properly. Why does wintabs behave this way? Whats the deal with :WintabsAllBuffers?

astier commented 4 years ago

I solved it by add the following line to my vimrc

au bufenter * WintabsAllBuffers

but I am still wondering why this doesn't work out of the box.

astier commented 4 years ago

I think I got the idea.