From 41fbeea91a0403d220548f81be6ee098da0dd2cb Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Wed, 18 Dec 2019 11:36:33 +0100 Subject: [PATCH] Exit parent process when detaching from tmux. --- .tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 02e9a3f..3018ae0 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -5,3 +5,6 @@ set-option -g default-terminal "screen-256color" bind-key -r j select-pane -L # Mirror prefix Right to prefix k for switching pane right bind-key -r k select-pane -R + +# Exit parent process when detaching from tmux +bind-key d detach-client -P