ahmedkhalf / project.nvim

The superior project management solution for neovim.
Apache License 2.0
1.35k stars 131 forks source link

Automatically add all projects in a folder #129

Open KingOfSpades opened 1 year ago

KingOfSpades commented 1 year ago

Hey, I'm switching from VS Code Project Manager to projects. What I'm trying to do is the following:

I have a few (~3) base Dir's where I clone all my git projects. I would like to add all folders containing a GiT repo automatically to Projects. Is this built in and am I just not using the plug-in right? Or is this something I need to setup? I would expect to find and option like "Automatically add projects from folder: [~/home/user/projects, ~/home/user/work]

coffebar commented 1 year ago

@KingOfSpades take a look at neovim-project - it has declarative approach:

  projects = {
    "~/projects/*", -- add all projects inside /home/user/projects/... 
    "~/p*cts/*",    -- glob pattern is supported
    "~/work/*"
  },