Closed samoshkin closed 3 years ago
For me the keybindings doesn't seem to work at all.
I start git fuzzy status
and it states that I'm supposed to be able to use Alt-A
, Alt-S
etc. I'm on a Mac and I've tried substituting Option or Control for Alt
but nothing happens.
I can only enter text that filters, use arrows and tab, nothing else works.
# fzf v0.25.1 (brew)
# zsh 5.8 (arm-apple-darwin20.2.0)
# tmux 3.1c
# iTerm2 3.4.3
# MacOS Big Sur 11.2.1
I'm using zinit as package manager, like this
zinit ice wait'2' lucid as"program" pick"bin/git-fuzzy"
zinit light bigH/git-fuzzy
My keyboard is Swedish.
My dotfiles are here https://github.com/Mellbourn/dotfiles
this should fix the issue. please update and reopen if this issue persists.
Didn't fix it for me. Most Alt-keys cannot be triggered by Options key for me. I'm starting to suspect that the issue is related to Swedish keyboard. Maybe this should be a different issue.
@Mellbourn have you tried https://github.com/bigH/git-fuzzy/issues/7#issuecomment-638458713?
That is not a good option for me. I tried it a long time ago. IIRC it screws up swedish letters
On Wed, 24 Mar 2021 at 11:49 PierreGuilmin @.***> wrote:
@Mellbourn https://github.com/Mellbourn have you tried #7 (comment) https://github.com/bigH/git-fuzzy/issues/7#issuecomment-638458713?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/bigH/git-fuzzy/issues/29#issuecomment-805713654, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANT6733Z3IQCOCZHTG4S2TTFG7SDANCNFSM4WEMPV2A .
This problem happens for me with the VSCode integrated terminal on macOS. git-fuzzy's keys don't work at all. I don't have this problem with other applications.
@Mellbourn sorry for the late response.
I think the problems here are all related to the applications and/or OS hijacking the keys before they end up in the terminal. Option
key on the macOS keyboard is not the same as Alt
on other platforms. I don't use kitty for this very reason.
Here's what I suggest:
vi
) try using <C-V>
followed by the key-combination you want to check out - this will show you what that key looks like to vim; it's an easy way to debug local issues (e.g. why doesn't something work in terminal emulator X)Option
and try remapping the keys
Hi,
PR https://github.com/bigH/git-fuzzy/pull/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 likefzf --bind
expects those mappings to be defined in lowercase, likealt-p
.So the issue is, unless I manually override those environment variables like this with all chars in lowercase, mappings do not work.
Regarding local environment I have: