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:
parent
00eaf0a8b5
commit
6d7fc7184f
1 changed files with 14 additions and 1 deletions
|
|
@ -193,8 +193,21 @@
|
|||
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",
|
||||
},
|
||||
},
|
||||
})
|
||||
'';
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue