How to ignore folders/files

My problem is similar to this, however the linked solution doesn’t exist anymore and I can’t find any documentation on the particular configuration files within in the .config folder. If I missed it I apologise but there’s an entry on help.obsidian.md about the .config folder but nothing on the files inside it.

What I’m trying to do

I have a vault which I place at the root of a git repository. This is not to store notes, in particular. The idea was that I would create a single git repository and then I would have projects which would form submodules. I could then use the README.md and additional .md files to document the projects and their submodules. This worked for a while, however I think that when I switched to using yarn with workspaces, it created inaccessible folders in the node_modules folder (that correspond to the various submodules). This results in a EACCES: permission denied error.

Things I have tried

Towards a solution, I want to exclude node_modules from the Obsidian entirely since it’s not even slightly necessary that Obsidian looks there. The forum post above seems to suggest this is possible, but I haven’t been able to find the config options necessary to do this.

So if there is some version of .obsidianignore please let me know.

I think the scope of that original thread/feature was much smaller. It was related to excluding certain content from searches, and that’s about it.

I’m not sure if you saw the link at the bottom of that thread, but the more up to date feature request and discussion is here:

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.