ref(tmux)
This commit is contained in:
parent
678fb43670
commit
a74eda0825
@ -44,6 +44,15 @@ bind Q kill-window
|
|||||||
# Kill other windows
|
# Kill other windows
|
||||||
bind C-q confirm-before -p "kill other windows? (y/n)" "kill-window -a"
|
bind C-q confirm-before -p "kill other windows? (y/n)" "kill-window -a"
|
||||||
|
|
||||||
|
# Detach
|
||||||
|
bind d detach
|
||||||
|
# Choose client to detach
|
||||||
|
bind D choose-client -Z
|
||||||
|
# Detach other clients
|
||||||
|
bind C-d if -F '#{session_many_attached}' \
|
||||||
|
'confirm-before -p "Detach other clients? (y/n)" "detach -a"' \
|
||||||
|
'display "Session has only 1 client attached"'
|
||||||
|
|
||||||
|
|
||||||
bind r command-prompt -I '#W' -p "New window name:" "rename-window '%%'"
|
bind r command-prompt -I '#W' -p "New window name:" "rename-window '%%'"
|
||||||
bind R command-prompt -I '#S' -p "New session name:" "rename-session '%%'"
|
bind R command-prompt -I '#S' -p "New session name:" "rename-session '%%'"
|
||||||
@ -99,12 +108,6 @@ bind o if -F '#{pane_synchronized}' 'setw synchronize-panes off' 'setw synchroni
|
|||||||
bind O setw synchronize-panes off
|
bind O setw synchronize-panes off
|
||||||
|
|
||||||
|
|
||||||
# Detach
|
|
||||||
bind C-d if -F '#{session_many_attached}' \
|
|
||||||
'confirm-before -p "Detach other clients? (y/n)" "detach -a"' \
|
|
||||||
'display "Session has only 1 client attached"'
|
|
||||||
|
|
||||||
|
|
||||||
bind i "set -g display-time $_tmux_display_panes_time \; display-message \; display-panes \; set -g display-time $_tmux_display_time"
|
bind i "set -g display-time $_tmux_display_panes_time \; display-message \; display-panes \; set -g display-time $_tmux_display_time"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user