-
Notifications
You must be signed in to change notification settings - Fork 83
Troubleshooting
- Execute
bind
and check if there are bindings overriding the bindings starting with_fzf_search_
. - COMMON FIX: Check that you do not have a different fzf plugin installed (#257, #265, #288). See Uninstalling-other-fzf-plugins if you do.
- Check your terminal's key bindings to see if it's intercepting the key binding (#210 and #223).
- Ensure you're using the minimum required version of fish.
- In your terminal's settings, map Option to Meta (#97).
- Switch to a new terminal session (#168).
- On Debian-based distributions, you will need to symlink
batcat
tobat
(see https://github.com/sharkdp/bat#installation). -
fd
, by default, ignores files also ignored by git. Check your local and global.gitignore
files to see if the files not showing up have been ignored. You can disable this behavior by adding the--no-ignore
flag tofzf_fd_opts
. - Ensure fdclone is not installed.
Originally reported in #106. If you're getting this error set: Universal variable 'FZF_DEFAULT_OPTS' is shadowed by the global variable of the same name.
, try these steps:
- close your current fish session, open a new shell, and check if
FZF_DEFAULT_OPTS
is now the right value - use
set --show FZF_DEFAULT_OPTS
to determine what's overshadowing it - uninstall and reinstall the plugin
See https://github.com/PatrickF1/fzf.fish/issues/305.
- If it's outputting newlines when run, make sure you are on fzf 0.33 or later. Many Linux distros including Ubuntu don't have it yet. (#312)
- If the command preview is missing colors, see https://github.com/fish-shell/fish-shell/issues/7855.
You may have missed the v7 migration announcement. Follow the directions here to migrate.
Whenever fzf previews a file, it executes the preview command in a new instance of Fish. And whenever Fish starts up, it sources your config.fish
and the config files of installed plugins. So, check all your config files to see if they are printing something or erroring. Put configuration meant only for interactive use under
status is-interactive || exit
See #203.
You are probably running a version pre-3.2.0. Double check your version by checking $version
instead of fish --version
because it's possible for the fish on your PATH to be updated but your terminal be configured to open up a different, older fish. This is especially the case on Ubuntu. See #226.