dmtrKovalenko / dmtrKovalenko/fff
[Suggestion]: Ability to specify searching directories or files in the interactive picker
- Dominant language
- Rust
- Stars
- 10.7k
- Forks
- 446
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 39
Description
### Which fff frontend(s)?
Neovim plugin (fff.nvim)
### What problem are you trying to solve?
I see it's possible to specify whether to search directories or files programmatically but I don't see this option for the interactive picker. What I'm trying to build is the following (where I use fzf-lua):
```lua
vim.keymap.set('n', '',
function()
plugin.fzf_exec("fd --follow --type directory --hidden --max-depth 4 . $HOME", {
prompt = "Goto -> ",
actions = {
['default'] = function(selected)
vim.cmd("cd " .. selected[1])
end
},
})
end,
{desc = 'Change directory (home)'})
```
### Proposed solution
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing fff.nvim's interactive picker and comparing it with the existing programmatic option to search directories or files. Done means the interactive picker can select whether to search directories or files, including the directory-navigation use case described with fzf-lua and fd.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100