Skip to content

Commit 989d092

Browse files
authoredMay 20, 2021
Merge pull request #37 from futuro/regex-fix
Fixed key_binding_not_set regex issue
2 parents 44af8d8 + df09a12 commit 989d092

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎sensible.tmux

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ server_option_value_not_changed() {
4545
}
4646

4747
key_binding_not_set() {
48-
local key="$1"
48+
local key="${1//\\/\\\\}"
4949
if $(tmux list-keys | grep -q "${KEY_BINDING_REGEX}${key}[[:space:]]"); then
5050
return 1
5151
else

0 commit comments

Comments
 (0)
Failed to load comments.