Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Folder Limit

NaggischnuluNaggischnulu134 downloads

Limits the number of visible files in folders and provides a show more button.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates8

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

  1. Install and enable the plugin.
  2. By default, folders will only show the first 5 files.
  3. To view all files in a folder, simply right-click the folder in the file explorer and select "Show all files".
  4. 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

  1. Open Obsidian Settings.
  2. Go to Community plugins and ensure Safe mode is off.
  3. Click Browse and search for "Folder Limit".
  4. Install and enable the plugin.

Manual Installation

  1. Download the main.js, manifest.json, and styles.css files from the latest Release on GitHub.
  2. Create a new folder named folder-limit inside your vault's .obsidian/plugins/ directory.
  3. Place the downloaded files into that folder.
  4. Reload Obsidian and enable the plugin in the Community Plugins settings.

License

This project is licensed under the 0-BSD License.

HealthExcellent
ReviewPassed
About
Limit how many files appear in large folders to declutter the file explorer by setting a global maximum. Toggle showing all or fewer files from a folder's context menu. Keep accurate scrollbars and fast performance via native virtual-list integration without DOM mutation observers.
FoldersFilesSidebar
Details
Current version
1.0.7
Last updated
Last month
Created
Last month
Updates
8 releases
Downloads
134
Compatible with
Obsidian 1.0.1+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Sponsor
Support
Author
NaggischnuluNaggischnulunaggischnulu
GitHubnaggischnulu
  1. Community
  2. Plugins
  3. Folders
  4. Folder Limit

Related plugins

Custom File Explorer sorting

Manual or automatic config-driven reordering and sorting of files and folders in File Explorer.

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.

File Explorer Note Count

See the number of notes in each folder within the file explorer.

File Tree Alternative

An alternative file tree view with separate folder and file panes.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Recent Files

Display a list of recently opened files.

Hide Folders

Quickly toggle the visibility of specific folders in the file navigator based on configured names. Useful for hiding attachment folders.

Reveal Active File Button

Add a button to the top of the File Explorer, to reveal the active file.

Quick Explorer

Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard.

Novel word count

Display a word count, page count, creation date, or other statistics for each file, folder and vault in the File Explorer pane.