Skip to content

feat: show C-c bindings in which-key on activation#6

Merged
achyudh merged 1 commit intomainfrom
show-C-c-bindings
Jul 31, 2025
Merged

feat: show C-c bindings in which-key on activation#6
achyudh merged 1 commit intomainfrom
show-C-c-bindings

Conversation

@achyudh
Copy link
Copy Markdown
Owner

@achyudh achyudh commented Jul 21, 2025

This commit refactors the evil-keypad's which-key integration to provide a more comprehensive view of available commands upon activation.

Previously, the which-key popup only displayed the keypad's internal trigger keys on activation. Now, evil-keypad dynamically creates a keymap by copying the C-ckeymap (mode-specific-map) and then overlaying the keypad's specific trigger keys. This ensures that all C-c keybindings are visible alongside the keypad's triggers.

Closes #5

This commit refactors the evil-keypad's which-key integration to
provide a more comprehensive view of available commands upon activation.

Previously, the which-key popup only displayed the keypad's internal
trigger keys on activation. Now, evil-keypad dynamically creates a
keymap by copying the `C-c`keymap (`mode-specific-map`) and then
overlaying the keypad's specific trigger keys. This ensures that all
`C-c` keybindings are visible alongside the keypad's triggers.
@achyudh achyudh merged commit 29b1108 into main Jul 31, 2025
2 checks passed
@achyudh achyudh deleted the show-C-c-bindings branch July 31, 2025 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

which-key integration: show more C-c keybindings

1 participant