Skip to content

Commit d724094

Browse files
committed
Revert extra shell escaping in non-TPM bindings
Why --- #181 was introduced to fix an issues with the TPM install script not running cleanly. This was due to the `C-\` key binding not being properly escaped in the final line of the script. In the process of fixing this in #181, it looks like we took it a bit overboard and escaped _all_ `C-\` sequences. In the end, the others should not be escaped, so this was causing issues for users not configuring via TPM script. This change ----------- This change reverts all of the `C-\` escaping outside of the TPM script.
1 parent 3e83ddc commit d724094

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ bind-key -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
6464
bind-key -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
6565
bind-key -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
6666
bind-key -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
67-
bind-key -n C-\\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
67+
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
6868
bind-key -T copy-mode-vi C-h select-pane -L
6969
bind-key -T copy-mode-vi C-j select-pane -D
7070
bind-key -T copy-mode-vi C-k select-pane -U
7171
bind-key -T copy-mode-vi C-l select-pane -R
72-
bind-key -T copy-mode-vi C-\\ select-pane -l
72+
bind-key -T copy-mode-vi C-\ select-pane -l
7373
```
7474

7575
#### TPM
@@ -196,7 +196,7 @@ bind -r C-h run "tmux select-pane -L"
196196
bind -r C-j run "tmux select-pane -D"
197197
bind -r C-k run "tmux select-pane -U"
198198
bind -r C-l run "tmux select-pane -R"
199-
bind -r C-\\ run "tmux select-pane -l"
199+
bind -r C-\ run "tmux select-pane -l"
200200
```
201201

202202
Troubleshooting

0 commit comments

Comments
 (0)