From 465f6f491b3b9eb7e9c0504fdaa0cf1b882eaa2f Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Tue, 18 Aug 2026 10:45:14 +0200 Subject: [PATCH] tmux: add popup --- files/tmux/.tmux.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/files/tmux/.tmux.conf b/files/tmux/.tmux.conf index 8437385..6486588 100644 --- a/files/tmux/.tmux.conf +++ b/files/tmux/.tmux.conf @@ -59,6 +59,13 @@ bind-key -n 'M-L' resize-pane -R 5 bind-key -n 'M-K' resize-pane -U 5 bind-key -n 'M-J' resize-pane -D 5 +# popups +bind-key -n M-f if-shell -F '#{==:#{session_name},popup}' { + detach-client +} { + display-popup -E -w 70% -h 70% "tmux new-session -A -s popup" +} + ### Misc # alias