Closed Caliv0 closed 1 year ago
I have enabled workspaces for Doom Emacs, which means that the treemacs-scope-type is set to Perspectives.
I have no idea what doom does, how and if it interferes with treemacs' features. Try it without doom's integration, and just use treemacs as a normal package. You'll need to also install the right persp package, other than that you can keep most of your config.
(setq treemacs-workspace-switch-cleanup "files")
This should be 'files.
After removing treemacs from my doom init file, and adding it as a separate package, it now works just as it did a month a go.
Exactly how I wanted it to work.
Thanks
@Caliv0 There is an issue for this now open with doom as it appears to be a problem with their workspaces module: https://github.com/doomemacs/doomemacs/issues/7614
I have a project with the folder name
frontend
. Whenever I open this project and then open treemacs my home directory ($HOME) opens instead of the project workspace.After running
treemacs-edit-workspaces
I noticed that every time I open the project, three new entries are added.This issue persisted even after completely nuking my Emacs config and rebuilding it with
doom install
.I've played around with
treemacs-set-scope-type
but nothing changed. This issue started to appear after I updated Doom Emacs with all its packages about a month ago.I also set
(setq treemacs-find-workspace-method 'find-for-file-or-manually-select)
but I was never asked which workspace I wanted to use after opening a new project, only when editing and deleting the currently selected workspace withtreemacs-edit-workspaces
I'm asked.Here is my complete treemacs config:
I have enabled workspaces for Doom Emacs, which means that the treemacs-scope-type is set to Perspectives.
How can I configure treemacs in a way that these workspaces are no longer created, and the correct workspace is being used?
There are the rest of my workspaces: