tmux list-keys supports custom sorting and formats
Introduced 2026-06-26 · score 0.90
HOW TO USE IT
When listing key bindings in tmux 3.7, use `-O <sort-order>` to sort them and `-F <format>` to choose each output line’s format.
tmux list-keys -O <sort-order> -F '<format>'WHY THIS HELPS
Sort key bindings and choose their output format when listing them.
REQUIREMENTS AND LIMITATIONS
- Version: 3.7
- -O <sort-order>: Selects the sort order for listed key bindings.
- -F <format>: Sets the format template used for each output line; defaults to the built-in list-keys template when omitted.
- The source states that `-O` is added to list commands, without naming them.
FIRST-PARTY EVIDENCE
Check the installed version and the source before using it. Entry JSON