From df5b537d21070b4938a849a9517c09bc0cf30a7c Mon Sep 17 00:00:00 2001 From: Mike Foley Date: Tue, 2 Dec 2014 17:55:10 -0800 Subject: [PATCH] Don't overwrite $prefix if already bound --- sensible.tmux | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sensible.tmux b/sensible.tmux index de31d9c..bb2ccbd 100755 --- a/sensible.tmux +++ b/sensible.tmux @@ -132,7 +132,9 @@ main() { fi # pressing `prefix + prefix` sends to the shell - tmux bind-key "$prefix" send-prefix + if key_binding_not_set "$prefix"; then + tmux bind-key "$prefix" send-prefix + fi fi # If Ctrl-a is prefix then `Ctrl-a + a` switches between alternate windows.