snacks.nvim icon indicating copy to clipboard operation
snacks.nvim copied to clipboard

feature: allow replacing window key help icon separator

Open nikitalocalhost opened this issue 7 months ago • 1 comments

Did you check the docs?

  • [x] I have read all the snacks.nvim docs

Is your feature request related to a problem? Please describe.

I'm trying to replace all icons in my config to ASCII. There is hardcoded icon on window key help { "➜", "SnacksWinKeySep" }

Describe the solution you'd like

Expose this icon to configuring with something like win.key_help_separator_icon

Describe alternatives you've considered

Moving to another library

Additional context

No response

nikitalocalhost avatar May 20 '25 22:05 nikitalocalhost

Noting that (1) I also came here to request this bit of configurability and (2) it could be reasonable to tie this to which-key.icons.separator if which-key is installed.

wbthomason avatar May 28 '25 18:05 wbthomason

Sorry, but could you please give an example lua command or code which creates that window and shows the icon? I had some experience modifying this repo, but I've never used the win module, so im not familiar with that icon. If I know where it shows up, I might be able to make a PR for the feature.

SuXYIO avatar Jun 23 '25 06:06 SuXYIO

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.

github-actions[bot] avatar Jul 30 '25 02:07 github-actions[bot]

Idk how to invoke this window using only code, but on any picker (like Snacks.picker.pickers()) in normal mode ? key works. It's a help menu for keybinds in window

nikitalocalhost avatar Aug 06 '25 20:08 nikitalocalhost

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.

github-actions[bot] avatar Sep 07 '25 02:09 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Sep 15 '25 02:09 github-actions[bot]