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

LeaderfBufferAll doesn't list all buffers #95

Closed
sdothum opened this issue Nov 26, 2017 · 8 comments
Closed

LeaderfBufferAll doesn't list all buffers #95

sdothum opened this issue Nov 26, 2017 · 8 comments
Labels

Comments

@sdothum
Copy link

sdothum commented Nov 26, 2017

LeaderfBufferAll only lists buffers entered. So on vim launch, LeaderfBufferAll only lists the current buffer.

@Yggdroot
Copy link
Owner

Sorry, I can not reproduce, could you provide more detail?

@sdothum
Copy link
Author

sdothum commented Nov 26, 2017

A weird problem. I even trimmed .vimrc to load via vim-plug only this plugin with no other settings. Same results. On "vim *", LeaderfBufferAll only lists the current buffer, shows "1/1" on the statusline and 1 line in the buffer window. Only bringing other buffers into view, updates the buffer list, one buffer at a time. Strange. Running vim 8.0.1297 on Arch.

@Yggdroot
Copy link
Owner

What about LeaderfBuffer? And what is the output of :ls!?

@sdothum
Copy link
Author

sdothum commented Nov 27, 2017

LeaderfBuffer exhibits exactly the same behavior as LeaderfBufferAll.

:ls! lists all the buffers though!

@Yggdroot
Copy link
Owner

What is the output of

:py import vim
:py print [b.name for b in vim.buffers]

?

@sdothum
Copy link
Author

sdothum commented Dec 1, 2017

:py import vim
:py print [b.name for b in vim.buffers]

lists an array of all the buffer "path/filename"s

@cncqtan
Copy link

cncqtan commented May 11, 2018

I also met this problem, when using following command to enter vim:
vim a.c b.c

then :LeaderfBuffer and :LeaderfBufferAll can show only one file, in this case, it is a.c
but :ls command can list all two files, also

:py import vim
:py print [b.name for b in vim.buffers]
these two commands return a list including absolute path of all the two file a.c and b.c

Yggdroot added a commit that referenced this issue May 11, 2018
LeaderfBufferAll doesn't list all buffers
@Yggdroot
Copy link
Owner

@sdothum @ParkerOutlook Fixed, please have a try.

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

No branches or pull requests

3 participants