Skip to content

feat: allow keymaps to be a single key (string) or multiple (table)#365

Open
bxhart wants to merge 2 commits into
esmuellert:mainfrom
bxhart:feat/allow-list-of-keys
Open

feat: allow keymaps to be a single key (string) or multiple (table)#365
bxhart wants to merge 2 commits into
esmuellert:mainfrom
bxhart:feat/allow-list-of-keys

Conversation

@bxhart

@bxhart bxhart commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

This PR aims to allow defining multiple keys for an action.
To do this i added 2 wrapper functions: set_keymap and del_keymap for vim.keymap.set and vim.keymap.del respectively, then replaced all occurrences.

@bxhart bxhart changed the title Allow keymaps to be a single key (string) or multiple (table) feat: allow keymaps to be a single key (string) or multiple (table) Apr 13, 2026
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.

1 participant