I am using NeoVim on mac with a plugin called SpaceVim that I really like. SpaceVim basically loads a ton of mappings all mapped to the space bar.
I also have added a ton of my own personal mappings, all mapped to the comma key.
When I use SpaceVim mappings, there is a description for each option. For example, if I press "[SPC]f" (this is the SpaceVim mapping for all maps related to files), it will show me a list of options and a description for each option. See photo below:
When I use my own mappings, Vim will show all the options, but I am not sure how to create descriptions for each option. For example, if I press ",m" (this is will show all of my "Miscellaneous" mappings), there is no description:
Does anyone know how to add these descriptions to custom vim mappings (stored in vimrc file)?
UPDATE To clarify - I am trying to create mapping previews without the use of spacevim or any other plugin. I did find this plugin which looks promising, but still looking for simple a vim / neovim only solution (which may not exist). https://github.com/spinks/vim-leader-guide Also, custom mappings can be created via spacevim with custom previews (see here for docs - https://spacevim.org/documentation/#bootstrap-functions) but still hoping to find a vim / neovim only solution :)