dotfiles/tools/nvim/lua/plugins/fileutils.lua
2025-04-03 01:38:14 +01:00

39 lines
914 B
Lua

return {
{
"rmagatti/auto-session",
event = "BufReadPre",
cmd = {
"SessionSearch",
"SessionSave",
},
opts = {
suppressed_dirs = { "~/", "~/Projects", "~/Downloads", "/" },
},
},
-- { import = "plugins.mod.nvim-tree" },
{ import = "plugins.mod.telescope" },
-- { import = "plugins.mod.fzf" },
{
"ahmedkhalf/project.nvim",
event = "VeryLazy",
opts = {
detection_methods = { "lsp", "pattern" },
patterns = { ".git", "Makefile", "package.json" },
sync_root_with_cwd = true,
silent_chdir = true,
scope_chdir = "global",
},
config = function()
require("telescope").load_extension("projects")
end,
dependencies = { "nvim-telescope/telescope.nvim" },
},
-- {
-- "NeogitOrg/neogit",
-- config = true,
-- cmd = {
-- "Neogit",
-- },
-- },
{ import = "plugins.mod.neo-tree" }
}