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

Navbar / Tabbar position #478

Closed
3 of 4 tasks
dinkocar opened this issue May 10, 2023 · 3 comments
Closed
3 of 4 tasks

Navbar / Tabbar position #478

dinkocar opened this issue May 10, 2023 · 3 comments
Labels
gui Graphical user interface related issues question Further information is requested

Comments

@dinkocar
Copy link

Checklist

What needs to be solved
How to I place navbar on bottom? I saw screenshot with such look, but I can not find any settings related to it.

Steps that have been attempted
[TODO A list of things you tried to use the feature or solve a problem, and what doesn't work when you use them.]

@dinkocar dinkocar added the question Further information is requested label May 10, 2023
@dark-steveneq
Copy link

dark-steveneq commented May 10, 2023 via email

@dinkocar
Copy link
Author

I did find that setting, meanwhile. I was not able to find it as I wasn't looking for anything color related :)
Anyway, flipped is weird, as arrow keys don't work as they should in menu. They are actually reverted, so I am using compact mode currently.

@Jelmerro Jelmerro added the gui Graphical user interface related issues label May 10, 2023
@Jelmerro
Copy link
Owner

This can indeed be done with colorschemes as mentioned above. The colorscheme you are looking for is called flipped and can be activated with :colorscheme flipped either in command mode or in your viebrc file. The arrow keys work fine in this scheme, they just get inverted with the theme because the bar is at the bottom instead of the top. If you don't want this, you are free to make a custom theme that keeps the order of suggestions unflipped but only flips the other UI elements. You can copy over the flipped colorscheme from here. On line 21 there is the following:

#suggest-dropdown {top: auto;bottom: 2.1em;flex-direction: column-reverse;

As you can see it was a deliberate choice to revert the suggestions, as otherwise the first selected suggestion would be at the top, which also would be a bit inconsistent. I decided to flip everything to make it start with the nearest selection just like it would in the default theme. If you don't want this to be flipped unlike the other elements, just make a theme in any of the locations listed in :help :colorscheme, for example ~/.vieb/colors/custom-flipped.css, and paste the contents of the flipped theme, then change column-reverse to column on line 21 (the one listed above with #suggest-dropdown at the start).

I believe this should solve your problem, if not let me know or ask any remaining questions you might have.

@Jelmerro Jelmerro closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gui Graphical user interface related issues question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants