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

Recursive Fold

rogerfan48rogerfan4838 downloads

Fold or unfold a heading or list item together with everything nested under it, with a modifier-click on its fold arrow.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Expand or collapse an entire branch in Obsidian with one click, instead of one level at a time.

Obsidian's fold arrows toggle a single level. Reaching a heading five levels deep takes five clicks, and collapsing a section keeps every level inside it as it was, so tidying up means closing each one separately. Recursive Fold adds a modifier-click: Cmd-click (macOS) or Ctrl-click (Windows, Linux) any fold arrow, and the item opens or closes together with everything nested under it.

Modifier-clicking fold arrows in a note and in the Outline pane to expand and collapse whole branches

Where it works

Location What folds
Notes, in Reading view, Live Preview and Source mode Headings and list items
File explorer Folders
Bookmarks Bookmark groups
Tags Nested tags
Outline Headings

Usage

Action Result
Modifier-click a collapsed arrow Expands the item and every level beneath it.
Modifier-click an expanded arrow Collapses the item and every level beneath it.
Toggle fold recursively command The same, for the section at the cursor, or at the top of the page in Reading view. Bind it under Settings → Hotkeys.

Plain clicks keep Obsidian's single-level behavior. Folds in notes are saved like any other fold and carry over between Reading view and the editor.

Tip: to open just the next level, modifier-click to collapse the whole branch, then plain-click the same arrow. Its children appear with everything beneath them still folded.

Settings

Setting Default Options
Modifier key Cmd on macOS, Ctrl elsewhere Option/Alt, Shift, or off

Installation

From Obsidian (recommended)

Settings → Community plugins → Browse, search for Recursive Fold, then install and enable it. Or open the plugin page and click Add to Obsidian.

Manually

Download main.js and manifest.json from the latest release and place them in <your vault>/.obsidian/plugins/recursive-fold/, then reload Obsidian and enable the plugin.

Limitations

  • Embedded notes, hover previews and Canvas cards are not supported.
  • Mobile devices have no modifier keys; use the command instead.
  • The plugin builds on parts of Obsidian outside its public API. If an update changes them, modifier-clicks fall back to a single-level toggle until the plugin is updated.

Related

Also by me: Better Heading Hierarchy, which draws guide lines that make the nesting of headings visible at a glance.

Contributing

Bug reports and pull requests are welcome; see CONTRIBUTING.md.

License

MIT © rogerfan48

HealthExcellent
ReviewPassed
About
Fold or unfold a heading or list item together with all nested content by modifier-clicking its fold arrow. Apply recursively in Reading view, Live Preview, and Source mode while plain clicks still toggle a single level. Assign a hotkey to toggle recursive folding when needed.
OutliningFormattingHotkeys
Details
Current version
1.1.0
Last updated
6 days ago
Created
Last week
Updates
2 releases
Downloads
38
Compatible with
Obsidian 1.2.3+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
rogerfan48rogerfan48
github.com/rogerfan48
GitHubrogerfan48
  1. Community
  2. Plugins
  3. Outlining
  4. Recursive Fold

Related plugins

Underline

Add underline with shortcut.

Colored Text

Color the selected texts.

Callout Toggles

Instantly add, switch, or remove callouts in your notes. Provides a separate command for every callout type.

Admonition

Admonition block-styled content.

Text Format

Format selected text upper/lower/capitalize.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Footnote Shortcut

Makes creating footnotes more fun!

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.

Tab Switcher

Switch your tabs with Ctrl + Tab in recently used order like in a browser.

Word-Smith

The Ultimate Writing Suite - Write. Organize. Export.