Closed thunder-coding closed 1 week ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Did you check the docs?
Is your feature request related to a problem? Please describe.
When which-key is installed, Neovim's statusline's '%S' option doesn't display the current keys being pressed. Although which-key window also has a current key pressed as title, but the position of the title is not fixed (atleast when using the "helix" preset). Having current key press at a constant position is desirable for me.
Describe the solution you'd like
A function in which-key, something like
require('which-key').current_key()
which would give the current key combination which is pending to be executed. In case when there is no pending keys, it could simply return an empty string or nilDescribe alternatives you've considered
noice's
require("noice").api.status.command.get
, but it doesn't seem to work when which-key is also present. Also noice seems to only return something once the command is completed. Apart from that another alternative is screenkey.nvim, but it doesn't just show the current commandAdditional context
No response