Simple neovim plugin that allows to pick directory and then focus it in file tree.
Supports only nvim-tree.
Minimal:
local ttf = require("telescope-tree-focus")
vim.keymap.set("n", "<a-d>", ttf.open_picker)With all options:
local ttf = require("telescope-tree-focus")
ttf.find_command = {
"fd",
"--hidden",
"--type",
"directory",
"--exclude",
".git",
}
ttf.prompt_title = "Find Directories"
ttf.expand_focused = true
vim.keymap.set("n", "<a-d>", ttf.open_picker)