Skip to content

Commit df5b537

Browse files
author
Mike Foley
committedDec 3, 2014
Don't overwrite $prefix if already bound
1 parent bbff707 commit df5b537

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎sensible.tmux

+3-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ main() {
132132
fi
133133

134134
# pressing `prefix + prefix` sends <prefix> to the shell
135-
tmux bind-key "$prefix" send-prefix
135+
if key_binding_not_set "$prefix"; then
136+
tmux bind-key "$prefix" send-prefix
137+
fi
136138
fi
137139

138140
# If Ctrl-a is prefix then `Ctrl-a + a` switches between alternate windows.

0 commit comments

Comments
 (0)
Failed to load comments.