Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buffer list not shown #366

Closed
tuxflo opened this issue Dec 28, 2017 · 9 comments
Closed

Buffer list not shown #366

tuxflo opened this issue Dec 28, 2017 · 9 comments

Comments

@tuxflo
Copy link

tuxflo commented Dec 28, 2017

Some infos first:
Operating System: KDE Neon (Ubuntu 16.04)
Compiler version: g++ (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
QT version: 5.9 (qt5-default/xenial,now 5.9.3+dfsg-0neon+16.04+xenial+build41 amd64)
Build version: latest git version, commit 539522c

Problem:
In the GUI version the buffer list (created by vim-airline) is not shown. Here are 2 screenshots to visualize the issue:
Nvim in Konsole:
screenshot_20171227_172750

Neovim-qt:
screenshot_20171227_172832

I'm using lots of buffers and the list prevents me from getting lost :)

@shuhaowu
Copy link

shuhaowu commented Apr 1, 2018

I can confirm this issue.

@cristobaltapia
Copy link

I am having this problem, too.

@BoltsJ
Copy link
Contributor

BoltsJ commented Jul 24, 2018

The reason for this is airline's buffer line reuses the tabline which is handled by nvim-qt. You can turn off the gui tabline with the --no-ext-tabline option to use the default tui tabline.

@cristobaltapia
Copy link

That works, thanks! Is there an configuration that can be used instead of opening nvim-qt with that option? (in ginit or something like that?)

@BoltsJ
Copy link
Contributor

BoltsJ commented Jul 24, 2018

No, there isn't currently. I'd recommend making a copy of nvim-qt.desktop in ~/.local/share/applications/ and changing the Exec line to Exec=nvim-qt --no-ext-tabline -- %F if you're on Linux.

@BoltsJ
Copy link
Contributor

BoltsJ commented Jul 31, 2018

Now that #431 is merged, you can use GuiTabline 0 in ginit.vim to disable the gui tabline.

@cristobaltapia
Copy link

Thanks @BoltsJ ! It works perfectly! :)

@equalsraf
Copy link
Owner

Closing this then.

@rdnetto
Copy link
Contributor

rdnetto commented Aug 14, 2018

Hi,
Now that it's merged, could we please get a release containing #431? The latest release (0.2.9) only supports --no-ext-tabline, which is problematic when you sync your vimrc between many different computers.

(On a related note, I'm not sure if we should have GuiTabline enabled by default. In 0.2.9 it's not rendered at all, and on master it only shows the current buffer, whereas when disabled airline displays all open buffers.)

EDIT: Not showing all buffers seems to be specific to airline - when manually creating tabs in a vanilla config it works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants