mcfly-fzf icon indicating copy to clipboard operation
mcfly-fzf copied to clipboard

Not overriding fzf's Ctrl+R binding

Open debnath-d opened this issue 5 months ago • 1 comments

If fzf's key-bindings.fish is enabled as described in the Arch Wiki, and mcfly-fzf is also enabled, mcfly-fzf is not overriding fzf's Ctrl+R binding. Here are the relevant config files:

~/.config/fish/config.fish:

if status is-interactive
    command -q mcfly && mcfly init fish | source
    command -q mcfly-fzf && mcfly-fzf init fish | source
end

~/.config/fish/functions/fish_user_key_bindings.fish:

function fish_user_key_bindings
    fzf_key_bindings
end

I should mention that it's not desirable to turn off fzf's key-bindings.fish because it also contains other key bindings apart from Ctrl+R, such as Ctrl+T and Alt+C.

debnath-d avatar Feb 17 '24 01:02 debnath-d