Skip to content

Comments

feat: add <Plug> mappings#10

Merged
barrettruth merged 2 commits intomainfrom
feat/plug-mappings
Feb 7, 2026
Merged

feat: add <Plug> mappings#10
barrettruth merged 2 commits intomainfrom
feat/plug-mappings

Conversation

@barrettruth
Copy link
Owner

Problem

Users who want keybindings must call Lua functions directly or wrap
commands in closures. There is no stable public API for key binding.

Solution

Define mappings in the plugin file and document them in a new
MAPPINGS section in the vimdoc.

Problem: users who want keybindings must call Lua functions directly
or wrap commands in closures. There is no stable public API for key
binding.

Solution: define <Plug> mappings in the plugin file and document them
in a new MAPPINGS section in the vimdoc.
@barrettruth barrettruth merged commit 2475bcd into main Feb 7, 2026
9 checks passed
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