From 2082040957b1b7fa17c856fb57b0f526a1e5aff9 Mon Sep 17 00:00:00 2001 From: Ivan Golikov Date: Thu, 16 Jan 2025 22:18:05 +0100 Subject: [PATCH] Attempt to fix fzf keybindings in Ubuntu 24.04 --- .config/fish/config.fish | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index ec7ca58..19dffe5 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -15,7 +15,13 @@ if status is-interactive abbr -a rootnvim sudo -Es nvim - fzf --fish | source + if fish_version_test (fzf --version | cut -d ' ' -f 1) -gt '0.48.0' + fzf --fish | source + else + source /usr/share/doc/fzf/examples/key-bindings.fish + fzf_key_bindings + end + # keeping this in the end zoxide init fish | source end