diff --git a/lua/custom/plugins/fff.lua b/lua/custom/plugins/fff.lua new file mode 100644 index 0000000..71ff266 --- /dev/null +++ b/lua/custom/plugins/fff.lua @@ -0,0 +1,28 @@ +return { + 'dmtrKovalenko/fff.nvim', + build = function() + -- this will download prebuild binary or try to use existing rustup toolchain to build from source + -- (if you are using lazy you can use gb for rebuilding a plugin if needed) + require('fff.download').download_or_build_binary() + end, + -- if you are using nixos + -- build = "nix run .#release", + opts = { -- (optional) + debug = { + enabled = true, -- we expect your collaboration at least during the beta + show_scores = true, -- to help us optimize the scoring system, feel free to share your scores! + }, + }, + -- No need to lazy-load with lazy.nvim. + -- This plugin initializes itself lazily. + lazy = false, + keys = { + { + 'ff', -- try it if you didn't it is a banger keybinding for a picker + function() + require('fff').find_files() + end, + desc = 'FFFind files', + }, + }, +}