Closed
Description
Hi,
PR #16 make it possible to override key bindings for various commands like "diff to merge base", "view log" or "diff to working copy" in a fuzzy finder screens.
However, key binding is now defined with an uppercase letter, e.g. Ctrl-P
, Alt-P
. IMO, it seems like fzf --bind
expects those mappings to be defined in lowercase, like alt-p
.
GIT_FUZZY_BRANCH_WORKING_COPY_KEY=${GIT_FUZZY_BRANCH_WORKING_COPY_KEY:-Ctrl-P}
GIT_FUZZY_BRANCH_MERGE_BASE_KEY=${GIT_FUZZY_BRANCH_MERGE_BASE_KEY:-Alt-P}
So the issue is, unless I manually override those environment variables like this with all chars in lowercase, mappings do not work.
export GIT_FUZZY_BRANCH_WORKING_COPY_KEY="ctrl-p"
export GIT_FUZZY_BRANCH_MERGE_BASE_KEY="alt-p"
Regarding local environment I have:
# fzf v0.25.0 (8c533e3)
# zsh 5.8 (x86_64-apple-darwin19.6.0)
# tmux 3.1c
# iTerm2 3.3.7
# MacOS Catalina 10.15.7
Metadata
Metadata
Assignees
Labels
No labels