Add disposable terminal
This commit is contained in:
parent
8306b1baaf
commit
2ffe27b639
1 changed files with 3 additions and 0 deletions
|
|
@ -110,6 +110,9 @@ bind-key M-4 send-keys "$FAVORITE_COMMAND4"
|
||||||
# sshm popup
|
# sshm popup
|
||||||
bind-key C-s display-popup -E -w 80% -d "#{pane_current_path}" "sshm"
|
bind-key C-s display-popup -E -w 80% -d "#{pane_current_path}" "sshm"
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
|
||||||
# Reload tmux config
|
# Reload tmux config
|
||||||
unbind r
|
unbind r
|
||||||
bind r source-file ~/.tmux.conf \; display-message "tmux config reloaded!"
|
bind r source-file ~/.tmux.conf \; display-message "tmux config reloaded!"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue