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

Feature request: Show buffer numbers (instead or alongside indexes) #41

Open
Nemoden opened this issue Mar 26, 2020 · 1 comment
Open

Comments

@Nemoden
Copy link

Nemoden commented Mar 26, 2020

Although having ordinal indexes is great, I'd like to have a visibility over buffer's number.
In order to switch to lynx.conf, I'd normally do :b <number>, but I'm confusing actual buffer number (3) with it's index (2).

Indexes (lynx.conf -> 2, README.md -> 3):
Screenshot 2020-03-26 12 56 10

Actual numbers which can be checked with :buffers (lynx.conf -> 3, README.md -> 4):
Screenshot 2020-03-26 12 56 23

To make it work nicely there might be options. There are some ideas:

let g:buffet_show_index = 1
let g:buffet_index_type = "index" " default
let g:buffet_index_type = "number" " shows number INSTEAD of indexes
let g:buffet_show_number = 1 " 0 is default

Last one I like best. What It would do is

  • if let g:buffet_show_index = 1 AND let g:buffet_show_number = 1, then tab would show <index> (#<number>) <title>, i.e. 2 (#3) lynx.conf
  • if let g:buffet_show_index = 1 AND let g:buffet_show_number = 0 then we have what we have now
  • if let g:buffet_show_index = 0 AND let g:buffet_show_number = 1 then tab would show #<number> <title>, i.e. #3 lynx.conf
  • if let g:buffet_show_index = 0 AND let g:buffet_show_number = 0 then it's obvious
@Nemoden Nemoden changed the title Show buffer numbers (instead or alongside indexes) #feature-request Show buffer numbers (instead or alongside indexes) Mar 26, 2020
@Nemoden Nemoden changed the title Show buffer numbers (instead or alongside indexes) Feature request: Show buffer numbers (instead or alongside indexes) Mar 26, 2020
@bagrat
Copy link
Owner

bagrat commented Jun 26, 2020

@Nemoden sorry for late response and thanks for filing this request while explaining the motivation and suggesting ideas 👍 It would be better to address this in the scope of #32, for which I will try to find some time in the next month.

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

No branches or pull requests

2 participants