mirror of
https://github.com/tmux-plugins/tmux-sensible.git
synced 2024-12-22 03:18:48 +00:00
Don't overwrite $prefix if already bound
This commit is contained in:
parent
bbff707eaa
commit
df5b537d21
@ -132,7 +132,9 @@ main() {
|
||||
fi
|
||||
|
||||
# pressing `prefix + prefix` sends <prefix> 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.
|
||||
|
Loading…
Reference in New Issue
Block a user