Remap shell popup on prefix +

This commit is contained in:
Yax 2025-12-29 13:23:14 +01:00
parent a127891115
commit d9ea276f5a

View file

@ -108,7 +108,7 @@ bind-key M-3 send-keys "$FAVORITE_COMMAND3"
bind-key M-4 send-keys "$FAVORITE_COMMAND4"
# disposable terminal
bind Space display-popup -E -w 80% -h 80% "tmux kill-session -t popup 2>/dev/null || true; tmux new-session -d -s popup -c '#{pane_current_path}' \\; set-option -t popup detach-on-destroy on \\; attach -t popup"
bind-key + display-popup -E -w 80% -h 80% "tmux kill-session -t popup 2>/dev/null || true; tmux new-session -d -s popup -c '#{pane_current_path}' \\; set-option -t popup detach-on-destroy on \\; attach -t popup"
# Reload tmux config
unbind r