Configure nvim-tree to hide macOS system files

- Add custom filter patterns for common macOS system files
- Hide .DS_Store, .AppleDouble, .LSOverride, and other system files
- Include resource forks (._*), Spotlight, and Time Machine files
- Keep existing dotfiles and git_ignored filter settings
- Maintain clean file explorer interface without system clutter

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Yan Lin 2025-07-27 20:10:08 +02:00
parent 00eaf0a8b5
commit 6d7fc7184f

View file

@ -193,6 +193,19 @@
filters = {
dotfiles = true, -- Hide dotfiles by default (H to toggle)
git_ignored = false, -- Show gitignored files by default (I to toggle)
custom = { -- Hide macOS system files
".DS_Store",
".AppleDouble",
".LSOverride",
"._.*",
".DocumentRevisions-V100",
".fseventsd",
".Spotlight-V100",
".TemporaryItems",
".Trashes",
".VolumeIcon.icns",
".com.apple.timemachine.donotpresent",
},
},
})
'';