-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: tmux bindings don't have notes, so they don't show up in C-b ?
#2540
Comments
C-b ?
Adds notes to the keybindings created in the tmux config making them show up in C-b ? and tmux list-keys -N Fixes nix-community#2540
Adds notes to the keybindings created in the tmux config making them show up in C-b ? and tmux list-keys -N Fixes nix-community#2540
Thank you for your contribution! I marked this issue as stale due to inactivity. If this remains inactive for another 7 days, I will close this issue. Please read the relevant sections below before commenting. If you are the original author of the issue
If you are not the original author of the issue
Memorandum on closing issuesIf you have nothing of substance to add, please refrain from commenting and allow the bot to close the issue. Also, don't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen – nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort. |
Argh, stale bots are the bane of my existence. Everything it says is a lie. People treat closed issues as closed, not as potential issues that were just shelved.
This especially is wrong. I'm the author of this issue and even I can't reopen it! Stale bots only serve to make users feel like their issues don't matter and discourage future issues. This is actually a pretty significant issue with the |
Hell, this issue is still even labeled as |
Sorry about the situation. |
@toonn That's wonderful, thanks for linking it 💕 I checked latest master but didn't think to check open PRs. Also I apologize for my tone in my above comments. I was quite cranky but that's not an excuse. |
…munity#2742) Adds notes to the keybindings created in the tmux config making them show up in C-b ? and tmux list-keys -N Fixes nix-community#2540
…munity#2742) Adds notes to the keybindings created in the tmux config making them show up in C-b ? and tmux list-keys -N Fixes nix-community#2540
…munity#2742) Adds notes to the keybindings created in the tmux config making them show up in C-b ? and tmux list-keys -N Fixes nix-community#2540
Is there an existing issue for this?
Issue description
tmux 3.1 added the ability to attach notes to key bindings, with notes for all the default bindings. It also changed
C-b ?
to only list bindings with notes (this istmux list-keys -N
). It's still possible to list keys without notes usingtmux list-keys -Na
, but there's no binding for this.The problem is home-manager includes its own key bindings, but these don't have notes, meaning they won't show up in
C-b ?
. Personally I think it was a mistake for tmux to suppress keys without notes by default, but perhaps this was done to try and force everyone to use notes?In any case, home-manager's tmux module needs to attach notes to its keys. Otherwise they're not sufficiently discoverable for users. It should copy the current notes for any keys whose action has a default key binding, and use something sensible for any other keys.
This change should be safe to do on release branches from
release-20.09
onwards, asnixos-20.09
contains tmux 3.1c (nixos-20.03
has tmux 3.0a so that's too old for this).Maintainer CC
@marsam @toonn @expipiplus1
System information
The text was updated successfully, but these errors were encountered: