feat: expose preview action mappings #128
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
barrettruth/preview.nvim!128
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/plug-mappings"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
preview.nvim exposes commands and Lua functions for its interactive actions, but users cannot bind those actions through stable
<Plug>targets. Configurations must currently repeat command strings or callbacks and couple physical keys directly to the implementation.Solution
Expose normal-mode
<Plug>mappings for toggling, one-shot compilation, opening generated output, inspecting compiler output, and cleaning artifacts. The mappings dispatch through the public Lua API, define descriptions without claiming physical keys, and are documented as the supported key-mapping interface.