Setting labels for custom menus / commands?
Author: sudormrfbinCreated Mar 5, 2022Updated Sep 24, 2026
LabelsC-enhancementA-helix-termA-keymap
Discussed in https://github.com/helix-editor/helix/discussions/1744
Originally posted by @MattCheely March 4, 2022 I recently realized I can add my own menu entries to do things like create "sub-menus", but the labeling gets a bit awkward. As an example if I do something in my config file like:
[keys.normal.space]
"f" = { "f" = "file_picker", "s" = ":write", "c" = ":open ~/.config/helix/config.toml" }I can use space f to get into file mode, but the f entry after pressing space has no label, and the c entry displays the open command, but it would be nice to make it say something like "Edit Helix config". Are either of those possible?
Source: helix-editor/helix