junegunn / junegunn/fzf-git.sh
Help wanted: CTRL-G CTRL-H keybinding conflicts with tmux
- Dominant language
- Shell
- Stars
- 1.2k
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Description
Hello! Thanks for the great plugin.
I know this is more related to zsh or zsh keybinding rather than fzf-git per se, but I'm asking for help because many of the users may run into the same problem.
`CTRL-G CTRL-H` for commit **H**ashes do not work in my environment, because it conflicts with `CTRL-H` mappings:
```
❯❯❯ bindkey # (excerpt)
"^G" fzm
"^G^H" fzf-git-hashes-widget
"^H" backward-delete-char
```
I pressed `^G^H` within the `KEYTIMEOUT` limit (40 ms) but in this case the fzf-git widget does not appear. However, `^G H` or other keys (e.g., `^G ^S`) works fine. In a similar vein, `^G ^E` seems conflicting with `^E` (end-of-line) but `^G ^E` works OK. Any idea why `^G ^H` is not working for me?
[This SuperUser](https://superuser.com/questions/1348263/how-can-i-avoid-conflicts-in-zsh-keybindings) thread seems relevant, but there is no working solution posted there (`KEYTIMEOUT` does not work).
zsh: zsh 5.9 (arm-apple-darwin21.3.0)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.