Enable power detach in tmux configuration

Power detach works similar to screen's power detach.
^A D will detach the tmux session and send SIGHUP to the parent process.
vimbundler
nirenjan 2013-02-26 19:00:27 -08:00
parent 01dee42ba2
commit 7c28319adb
1 changed files with 2 additions and 3 deletions

View File

@ -151,9 +151,8 @@ bind-key - \
# screen and the scrollback buffer too # screen and the scrollback buffer too
bind-key -n C-k clear-history bind-key -n C-k clear-history
# Disable the choose-client key binding. It usually results in the current # Power detach (detach and hangup parent process)
# client getting detached. bind-key D detach-client -P
unbind-key D
# Rather than go with the last session, let the user pick from the list # Rather than go with the last session, let the user pick from the list
# of available sessions # of available sessions