We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
key_binding_not_set
1 parent 22d1305 commit b5a1c2aCopy full SHA for b5a1c2a
CHANGELOG.md
@@ -1,6 +1,8 @@
1
# Changelog
2
3
### master
4
+- bugfix in `key_binding_not_set`: the regex is now properly detecting key
5
+ bindings with `-r` flag.
6
7
### v2.1.0, 2014-12-12
8
- check before binding `prefix + prefix` (@m1foley)
sensible.tmux
@@ -41,7 +41,7 @@ server_option_value_not_changed() {
41
42
key_binding_not_set() {
43
local key="$1"
44
- if $(tmux list-keys | grep -q "bind-key[[:space:]]\+${key}"); then
+ if $(tmux list-keys | grep -q "bind-key[[:space:]]\+\(-r[[:space:]]\+\)\?${key}"); then
45
return 1
46
else
47
return 0
0 commit comments