aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-05-22 15:40:48 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-05-22 15:40:48 +1200
commit166e92764c2346d2775bddb852a885170c95d38c (patch)
tree4595123ceb451e7218754a0f47358070371db00f /tmux
parentNew macro for tmux (diff)
downloaddotfiles-166e92764c2346d2775bddb852a885170c95d38c.tar.gz
dotfiles-166e92764c2346d2775bddb852a885170c95d38c.zip
Bind Alt-M within tmux to detach
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf3
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