helix
helix copied to clipboard
Borrow "cmdheight=0" feature from neovim
Describe your feature request
Here is the PR from neovim's repo.
What this basically does is to hide the command line when it's not used.
Here's an example:

BTW, I actually believe this would be a better default behavior
Another option to consider that would also address partially #1664 would be to replace the prompt with a picker like ui. There's some repetition of not quite the same code between prompts and pickers, so that might help to simplify code paths as well.
I really like how Kakoune does it — the cmd prompt is in the status line (all the status stuff is on the right side)

How is the maintainers opinion on this? What is the status? I mainly use helix in zellij, which also comes with an own bar. That is a line count of three, of which one is not really necessary.
I very much like this idea. Having an empty line that I rarely look at below the status line permanently is annoying. Having it pop in above the status like when a command is being written seems like a great compromise.
Just stumbled across this issue. This is similar what https://github.com/helix-editor/helix/pull/12204 does
That's a 👎 from me on the idea of a "shared" status line. Not a fan of a setup where looking at your status bar requires context and deliberation before you can tell if you're looking at buffer content or status text.
The current setup further helps by physically separating the status line from the buffer viewport. IMO, the status bar is perfectly fine as it is, where it is.
Just my ¢2.
Edit: thinking on this some more, the addition of the :echo command in 25.07 is likely to land usable info on the status line much more often than before, which further devalues the "it's almost always empty anyway" reasoning.