-
Notifications
You must be signed in to change notification settings - Fork 715
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
additional modeline-like area? #2989
Comments
Probably related #1942 |
another request that may benefit from it a bit: #2727 |
Would this area render the value of a new option, like Would the bar be a UI widget, which would make the option mentioned above a simple field in Would the bar collapse (i.e. not be rendered at all and replaced by a line from the buffer's contents) when there's no data to render? Would formatting of the data (e.g. spaces between the words in it) be the responsibility of the user, or are there expectations from the editor? |
I think this is the way to go.
In my opinion it should just render as is. Plugin would set a buffer local value of the option and fill it as it needs.
I don't think so. I think the line should be explicitly made visible or hidden by user settings. Possibly have a buffer local value, so in one buffer where it should display column names it is wisible, and in another buffer where it is empty it is hidden or shown depending on user settings, like |
We can display status messages in modeline, but if there's too much going on in modeline it becames cluttered and less usable. Vim and Emacs have the second modeline like area on the top which is hidden by default but can be shown to display additional info that should stay on the screen. Like opened tabs in Vim:
It's nice visual queue what buffers are currently open, which of those have changes, e.t.c. Since there's kakoune-buffers, that provides convenient list of buffers through the info box I guess people will be interested in a more persistent way to display this info. Maybe.
Or in Emacs if you open package menu, you'll see this top line:
You can see in the modeline that I've scrolled thorugh 62% of the file, and this top line is still the top one, since it's not the part of the buffer.
So this is kind of area which plugins could utilize in order to provide their additional information.
The text was updated successfully, but these errors were encountered: