spacemacs

jumar 2024-02-20T14:48:41.433719Z

Is it possible to make treemacs show projects only from the current layout? At the moment, it's showing all the layouts' projects and it's quite messy. I only found https://www.reddit.com/r/spacemacs/comments/fl6goy/treemacs_show_only_projects_present_in_current/ but no help there.

jumar 2024-02-20T14:51:27.499989Z

I found treemacs-display-current-project-exclusively but that's too manual - I would like to enforce this behavior by default, not every time I visit a different layout. https://github.com/Alexander-Miller/treemacs?tab=readme-ov-file#navigation-without-projects-and-workspaces

practicalli-johnny 2024-02-20T16:21:04.795839Z

I've used follow mode for quite a while and it seems to work well enough for me. In my Spacemacs layer config I have this for treemacs

(treemacs :variables
               treemacs-indentation 1
               treemacs-use-filewatch-mode t
               treemacs-use-follow-mode t)

jumar 2024-02-20T16:45:58.354939Z

But that sounds like a different thing. I sometimes want to explore the tree without first opening any particular file