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

Tabline #89

Closed
shadmansaleh opened this issue Feb 8, 2021 · 2 comments
Closed

Tabline #89

shadmansaleh opened this issue Feb 8, 2021 · 2 comments
Labels

Comments

@shadmansaleh
Copy link
Member

What do you think about using tabline?

Tabline and statusline use same formats right now you can do

vim.o.showtabline = 2
vim.o.tabline = vim.o.satusline
vim.o.statusline = ' '

And send statusline to top on vim . We could divide tabline into sections like statusline and allow users to put components to top of vim too. Say I could show stuff like mode and branch on top of vim insted of bottom ? We could probably also add a option to show traditional tabline too .

Oh I think the entire tabline should be optional . So users can use a different tabline plugin if they prefare it and not have two plugins fight over tabline😄

What do you think of the idea?

@hoob3rt
Copy link
Contributor

hoob3rt commented Feb 9, 2021

Well I would rather stick to the unix philosophy. Do one thing and do it well. There are already existing lua implementations of tabline so I don't think it is necessary for us to implement it(Although the implementation would be minimal).

show traditional tabline too

What do you have in mind? Is this not something a user can set without any plugin at all? Most themes already support tabline so I don't know what exactly are we supposed to do here?

I don't use tabline myself so I might be out of the loop. I am open to discussion here, feel free to prove my points wrong :)

@hoob3rt hoob3rt added the discuss label Feb 9, 2021
@shadmansaleh
Copy link
Member Author

shadmansaleh commented Feb 9, 2021

Well I would rather stick to the unix philosophy. Do one thing and do it well. There are already existing lua implementations of tabline so I don't think it is necessary for us to implement it(Although the implementation would be minimal).

My genaral idea wasn't to create a tabline but to allow users to extened their statusline to tabline to . By allowing components to be put on top of screen too . It can be done really simply . most of the stuff is already there . Will just have to add a in lualine.lua function that will call statusline function with a different tabline table and set that function as tabline . Just few lines of code.

show traditional tabline too

What do you have in mind? Is this not something a user can set without any plugin at all? Most themes already support tabline so I don't know what exactly are we supposed to do here?

I don't use tabline myself so I might be out of the loop. I am open to discussion here, feel free to prove my points wrong :)

I personaly donn't use tab at all . So no use of tabline to me . That's why I'd like to move some stuff from statusline to top in tabline :)

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

2 participants