mcfly-fzf
mcfly-fzf copied to clipboard
Not overriding fzf's Ctrl+R binding
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.