helix icon indicating copy to clipboard operation
helix copied to clipboard

Borrow "cmdheight=0" feature from neovim

Open glyh opened this issue 3 years ago • 3 comments

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

glyh avatar Feb 14 '22 08:02 glyh

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.

EpocSquadron avatar Feb 14 '22 12:02 EpocSquadron

I really like how Kakoune does it — the cmd prompt is in the status line (all the status stuff is on the right side)

Screen_2022-04-08-22:06:55

valpackett avatar Apr 08 '22 19:04 valpackett

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.

mrdgo avatar Jul 05 '24 12:07 mrdgo

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.

eliasboegel avatar Sep 26 '24 07:09 eliasboegel

Just stumbled across this issue. This is similar what https://github.com/helix-editor/helix/pull/12204 does

nik-rev avatar Dec 19 '24 10:12 nik-rev

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.

nestor-custodio avatar Jul 18 '25 15:07 nestor-custodio