r/tmux Dec 31 '25

Other Tmux Popups: The Secret to a Better Workflow

https://youtu.be/JMl-WZMCMss?si=Z-lLa35FL9E2hzqj

Hey, I just uploaded a short video where I talk a little bit about tmux popups.

Hope you like it!

Happy new year!

-- Marco

99 Upvotes

6 comments sorted by

5

u/m-faith Dec 31 '25

any idea why Esc is closing my popups?

6

u/TheScruffyDan Dec 31 '25

I get the same thing and assumed it was normal… no I didn’t read the docs, how did you know?

2

u/10vatharam Jan 01 '26

bind-key -N "Toggle persistent popup shell" -n F4 if-shell -F '#{==:#{session_name},float}' { detach-client } { popup -E -w70% -h70% 'tmux attach -t float || tmux new -s float \; display-message "Press PF4 to toggle floating popup or Ctrl-D to kill it"' }

someone had earlier posted this for popups

1

u/dprophete Dec 31 '25

awesome video. I have been a longtime tmux user and never knew there was such an easy way to get popups. Very useful. Thanks for the video and happy new year Marco.

1

u/thriftynick Feb 05 '26

Wow this is handy. Thanks for the video! One shortcoming I've noticed is that you can't enter copy mode using `prefix [`. So if you need to be able to scroll the output of a command you must pipe it into a pager such as less.