dotfiles/home/dot_config/nvim/lua/plugins/fileutils.lua

41 lines
959 B
Lua

return {
-- Picker
{ import = "plugins.mod.fzf" },
-- Explorer
{ import = "plugins.mod.neo-tree" },
{
"rmagatti/auto-session",
event = "BufReadPre",
cmd = {
"AutoSession",
},
opts = {
suppressed_dirs = { "~/", "~/Projects", "~/Downloads", "/" },
},
keys = {
{ "<leader>ps", "<Cmd>AutoSession search<CR>", desc = "List all sessions" },
},
},
-- {
-- "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",
},
},
}