diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-05-22 15:40:48 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-05-22 15:40:48 +1200 |
commit | 166e92764c2346d2775bddb852a885170c95d38c (patch) | |
tree | 4595123ceb451e7218754a0f47358070371db00f | |
parent | New macro for tmux (diff) | |
download | dotfiles-166e92764c2346d2775bddb852a885170c95d38c.tar.gz dotfiles-166e92764c2346d2775bddb852a885170c95d38c.zip |
Bind Alt-M within tmux to detach
-rw-r--r-- | tmux/tmux.conf | 3 |
1 files changed, 3 insertions, 0 deletions
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 |