Folder Limit
approvedby Naggischnulu
Limits the number of visible files in folders and provides a show more button. - This plugin has not been manually reviewed by Obsidian staff.
Obsidian Folder Limit
A lightweight Obsidian plugin that helps you keep your file explorer clean by limiting the number of files visible in long folders.
If you have folders with hundreds of files (like daily notes, attachments, or Zettelkasten folders), your file explorer can quickly become cluttered and difficult to navigate. This plugin allows you to set a maximum number of files to show per folder, hiding the rest until you need them.
Features
- Limit Visible Files: Set a global limit (e.g., 5 files) for how many files are shown in a folder.
- Native Context Menu: Right-click on any folder to toggle between "Show all files" and "Show less files".
- Zero Scroll Glitches: Deeply integrated into Obsidian's virtual list rendering to ensure your scrollbars remain accurate, completely avoiding the UI glitches caused by other CSS-hiding plugins.
- Highly Performant: Operates without DOM mutation observers, ensuring your vault stays blazing fast even with thousands of files.
How to use
- Install and enable the plugin.
- By default, folders will only show the first 5 files.
- To view all files in a folder, simply right-click the folder in the file explorer and select "Show all files".
- To collapse the folder back to the limit, right-click it again and select "Show less files".
Settings
You can customize the maximum number of files shown per folder in the plugin settings under Folder Limit. Changing this value updates the file tree immediately.
Installation
From the Community Plugins list
- Open Obsidian Settings.
- Go to Community plugins and ensure Safe mode is off.
- Click Browse and search for "Folder Limit".
- Install and enable the plugin.
Manual Installation
- Download the
main.js,manifest.json, andstyles.cssfiles from the latest Release on GitHub. - Create a new folder named
folder-limitinside your vault's.obsidian/plugins/directory. - Place the downloaded files into that folder.
- Reload Obsidian and enable the plugin in the Community Plugins settings.
License
This project is licensed under the 0-BSD License.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.