helix
helix copied to clipboard
Add configureable statusline mode names
I added normal-mode-name, insert-mode-name, and select-mode-name as keys in the [editor.statusline] section of the configuration file. Changing these will change the text displayed by the "mode" element of the statusline. Here you can see an example:

Looks good! Quick note, this would need to be added to the documentation as well book/src/configuration.md
Looks good! Quick note, this would need to be added to the documentation as well
book/src/configuration.md
Just added the documentation!
Why not make it a nested config item? editor.statusline.mode.normal = "Foo"
Why not make it a nested config item? editor.statusline.mode.normal = "Foo"
Just switched to that, and updated the documentation
Really looking forward to this!
@the-mikedavis I fixed the documentation, is there anything else I need to do?
Just curious, what is the use case for this?
Just curious, what is the use case for this?
reclaiming space in the statusline for me. I can also see internationalization as a use case.
Why not make it a nested config item? editor.statusline.mode.normal = "Foo"
@archseer I added that and the documentation is fixed, is there anything else I need to do?
@PeepNSheep - why did you close this? I was looking forward to seeing it merged.
@PeepNSheep - why did you close this? I was looking forward to seeing it merged.
Whoops, my bad. I meant to convert it into a draft. In any case, I think some of the code got deleted while merging with the latest changes, so I'll fix that as soon as I can.