sanathks / workspace.nvim

Neovim project manager, manage project within workspaces using Tmux sessions
44 stars 8 forks source link

(Question): show child folders inside the root folder #8

Open qwexvf opened 2 hours ago

qwexvf commented 2 hours ago

Hi, Just found out this cool plugin when searching for managing projects by tmux sessions in neovim.

After a few try outs i wanted to know if its possible to show the child folders inside the root folder that also contains multiple projects. for example the original config specifies each project like below

require("workspace").setup {
  workspaces = {
    { name = "dotfiles", path = "~/dotfiles", keymap = { "<leader>dot" } },
    { name = "projects", path = "~/projects", keymap = { "<leader>pj" } },
  },
}

In this case, If open the projects this it'll show the projects inside the ~/projects like ~/projects/a, ~/projects/b, ~/projects/a

now i organize my projects by organizations like the example below

~/projects/my_company/a ~/projects/my_company/b ~/projects/my_company/c

Is there a way i can show also the child folders which is (a,b,c) ? i was thinking this could be possible for looking for folders that contains .git directory.

qwexvf commented 2 hours ago

I definitely should have looked into the source code (which I'm going to do now)