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

Statusline integration does not respect "rotate" option #25

Open
schreifels opened this issue Dec 14, 2014 · 0 comments
Open

Statusline integration does not respect "rotate" option #25

schreifels opened this issue Dec 14, 2014 · 0 comments

Comments

@schreifels
Copy link

First of all, thank you for this plugin! I have found it to be really useful. Recently, I came across this issue:

It seems that the "rotate" option only works with command bar mode. If I use these settings:

let g:bufferline_show_bufnr = 0
let g:bufferline_rotate = 2
let g:bufferline_echo = 0
autocmd VimEnter *
  \ let &statusline='%{bufferline#refresh_status()}'
  \ .bufferline#get_status_string()

I get behavior like this:

All good, current buffer highlighted
screen shot 2014-12-13 at 8 18 06 pm

But when the current buffer is changed, the statusline does not scroll
screen shot 2014-12-13 at 8 18 13 pm

If I comment out the last three lines of that config, I see:

Current tab is highlighted
screen shot 2014-12-13 at 8 19 13 pm

Switch to a neighboring buffer, and bufferline scrolls as expected
screen shot 2014-12-13 at 8 19 26 pm

vim 7.4
vim-bufferline 706e059

Any thoughts would be greatly appreciated. Thanks!

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

1 participant