Skip to content

Add key binding notes (-N) to all bindings#77

Open
technicalpickles wants to merge 1 commit intotmux-plugins:masterfrom
technicalpickles:add-key-binding-notes
Open

Add key binding notes (-N) to all bindings#77
technicalpickles wants to merge 1 commit intotmux-plugins:masterfrom
technicalpickles:add-key-binding-notes

Conversation

@technicalpickles
Copy link
Copy Markdown

Summary

  • Adds descriptive -N notes to all key bindings created by this plugin
  • Notes appear in tmux list-keys -N, making bindings discoverable by tools like tmux-fzf and tmux-which-key
  • No behavioral changes, just metadata

Context

tmux 3.1+ supports the -N flag on bind-key to attach a human-readable description. tmux's own default bindings all have notes, but most plugins don't set them yet. This makes plugin bindings invisible to list-keys -N and any tooling built on top of it.

Test plan

  • tmux list-keys -N should show descriptions for all sensible bindings (reload config, next/prev window, last window, send prefix)
  • No change to actual key behavior

Adds descriptive notes to all key bindings using tmux's -N flag,
making them visible in `tmux list-keys -N` and discoverable by
tools like tmux-fzf and tmux-which-key.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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