Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
By popular demand, everyone can now easily customize fzf to their hearts content! This was an oft requested feature that I parried for a long time but now I am very excited to finally add. The following variables can store the custom options that will be passed to fzf by their respective feature: - fzf_dir_opts => search directory - fzf_git_status_opts => search git status - fzf_git_log_opts => search git log - fzf_history_opts => search history - fzf_shell_vars_opts => search shell variables They are always appended last to fzf's argument list so that they can override any hardcoded fzf options. This might lead to some people shooting themselves in the foot but also unlocks numerous opportunities for the user to customize or augment the existing features. Some of the cool ideas now made possible include: - add key bindings within fzf to operate on the selected line, e.g. open file in vim, preview file as image, copy to clipboard, git checkout commit, git reset commit - adjust the preview window or command - re-populate fzf's input list on demand - change the search mode - Get more support with this feature at https://www.mankier.com/1/fzf#Key/Event_Bindings and https://betterprogramming.pub/boost-your-command-line-productivity-with-fuzzy-finder-985aa162ba5d
Oops I already had to release a hotfix. If you are on fish 3.1.2 or older (though versions older than 3.1.2 are not officially supported anyway) please update to 6.1. https://github.com/PatrickF1/fzf.fish/releases/tag/v6.1