32 lines
961 B
Lua
32 lines
961 B
Lua
-- Open fff.nvim
|
|
-- https://github.com/dmtrKovalenko/fff.nvim
|
|
|
|
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 = false, -- 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',
|
|
},
|
|
},
|
|
}
|