Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set command list's name and sticky bit in a config #1487

Open
eugenesvk opened this issue Jan 12, 2022 · 4 comments
Open

Set command list's name and sticky bit in a config #1487

eugenesvk opened this issue Jan 12, 2022 · 4 comments
Labels
A-keymap Area: Keymap and keybindings C-enhancement Category: Improvements

Comments

@eugenesvk
Copy link

Helix allows you to group commands together to show a dialog list of commands — very helpful for keybind chaining
It also has two nice features about such dialogs: name and a sticky bit with the latter preventing the dialog from closing after a command is executed

I understand how to set the first part in my config, but then don't know how to change a name and add a sticky bit, they seem to be hardcoded in the keymap.rs only without the ability to add/change them from a config

  [keys.normal."a"]  # how to assign a custom name and make it sticky
   "b"	= "move_prev_word_end"
   "c"	= "move_prev_long_word_start"
@eugenesvk eugenesvk added the C-enhancement Category: Improvements label Jan 12, 2022
@kirawi kirawi added the A-keymap Area: Keymap and keybindings label Jan 12, 2022
@kirawi
Copy link
Member

kirawi commented Nov 10, 2022

Closing in favor of #1752

@kirawi kirawi closed this as not planned Won't fix, can't repro, duplicate, stale Nov 10, 2022
@eugenesvk
Copy link
Author

The favored issue only covers the label, but not the other important part - menu stickiness

@kirawi
Copy link
Member

kirawi commented Nov 10, 2022

Ah right, thanks for letting me know.

@kirawi kirawi reopened this Nov 10, 2022
@bbodi
Copy link
Contributor

bbodi commented Nov 10, 2022

Adding the stickyness configuration to #1752 is an option too (see my comment here #4164 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-keymap Area: Keymap and keybindings C-enhancement Category: Improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants