Tmux pop-up cheat sheet

I recently discovered display-popup that was added to newer versions of tmux. There's a ton of cool things you can use it for, one being to create a help/cheatsheet popup window with common shortcuts:

# Custom help display (replaces default ? binding)
bind-key ? display-popup -E -w 90% -h 80% "echo 'TMUX SHORTCUTS:

Window/Session Management:
  ctrl+a w/W    - fzf window switcher popup
  ctrl+a s/S    - fzf session switcher popup  
  ctrl+a \"      - choose window (interactive)
  ctrl+a ctrl+a - switch to last active window
  ctrl+a ,      - rename current window
... more stuff here ...
' | less"

From tmux manual:

display-popup ...
Display a popup running shell-command (or default-command
when omitted) on target-client. A popup is a rectangular
box drawn over the top of any panes. Panes are not
updated while a popup is present.

Result

Ends up looking like this after pressing ctrl+a ? in my config:

It's been pretty helpful for me because I've also been trying out some other changes to my tmux config and don't always remember what keys are bound to what.

References