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