zefei / vim-wintabs

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

split windows and buffers (when using g:wintabs_display = 'tabline') #61

Open ThomasAdam opened 4 years ago

ThomasAdam commented 4 years ago

Hi,

I'm trying to get wintabs to work reliably with split windows, without setting g:wintabs_display = 'statusline', as I don't want to have the statusline move position to the top of the window.

I've tried setting:

au BufEnter,WinEnter * WintabsAll

This works, but when I start using tabs (`:tabnew') then switching tabs doesn't limit the buffers which are shown to just that tab; it seems to use all buffers.

I feel as though I am close with using WintabsAll, but just needs limiting the tabs. That way (for me at least), the default configuration just works.

Any pointers on how to achieve this would be welcomed.

Thanks!