tmux

Bind ctrl-d to detach

in .tmux.conf:

bind-key -n C-d detach