From 166e92764c2346d2775bddb852a885170c95d38c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 22 May 2015 15:40:48 +1200 Subject: Bind Alt-M within tmux to detach --- tmux/tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 332507e9..5eb9881b 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -42,6 +42,9 @@ bind-key Tab last-pane # Use the vi mode for tmux interaction behaviour in copy and choice modes set-window-option -g mode-keys vi +# Detach with Alt-M, no prefix required +bind-key -n M-m detach + # Vim-like pane resizing bind-key -r '+' resize-pane -U 5 bind-key -r '-' resize-pane -D 5 -- cgit v1.2.3