# Fold/Unfold headings up to specific level hotkeys

**URL:** <https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276>\
**Category:** Feature requests\
**Tags:** valuable\
**Created:** [November 8, 2020, 2:01pm UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276 "2020-11-08T14:01:47Z")\
**Posts on this page:** 17\
**Page:** 3

<div class="post-metadata">

**Author:** ![Mudd](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a3d4f5/32.png) [@Mudd](https://forum.obsidian.md/u/Mudd)\
**Post date:** [February 5, 2023, 12:47pm UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/41 "2023-02-05T12:47:42Z")

</div>

- 1 for this feature, outliner plugin does this, but I found the verticle line length is pretty limited there. Hope this could be implemented!

---

<div class="post-metadata">

**Author:** ![calmthesehands](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/c/977dab/32.png) [@calmthesehands](https://forum.obsidian.md/u/calmthesehands)\
**Post date:** [March 8, 2023, 1:06am UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/42 "2023-03-08T01:06:11Z")

</div>

Adding my +1 for a “unfold all levels” feature here. Creases is mentioned as a solution to this thread, but unfortunately it doesn’t support bulleted lists. I make use of folding bulleted lists liberally, and on especially long documents it’s a major pain to go through and _click_ every single bullet point to expand it when I want to view the whole thing.

Given the existence of a “Fold all headings and lists” command, I’m very confused why there isn’t a corresponding “Unfold all headings and lists” command!

---

<div class="post-metadata">

**Author:** ![bolejj](https://forum.obsidian.md/user_avatar/forum.obsidian.md/bolejj/32/37617_2.png) [@bolejj](https://forum.obsidian.md/u/bolejj)\
**Post date:** [March 22, 2023, 11:07pm UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/43 "2023-03-22T23:07:59Z")

</div>

Adding +1 for this.  
The core outline mode is very limited in MANY respects and should be overhauled and the list of suggestions already made for that core feature and very long and a good reference for development.

---

<div class="post-metadata">

**Author:** ![diffuser](https://forum.obsidian.md/user_avatar/forum.obsidian.md/diffuser/32/46772_2.png) [@diffuser](https://forum.obsidian.md/u/diffuser)\
**Post date:** [April 28, 2023, 1:35pm UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/44 "2023-04-28T13:35:30Z")

</div>

+1 for a proper step-by-step fold/unfold solution.

(Fold more/less hotkeys, but for the entire document. Without being in edit mode.)

Fold/Unfold all should also be one toggle hotkey, imo.

---

<div class="post-metadata">

**Author:** ![BackSwtich](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/b/958977/32.png) [@BackSwtich](https://forum.obsidian.md/u/BackSwtich)\
**Post date:** [May 26, 2023, 9:34pm UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/45 "2023-05-26T21:34:03Z")

</div>

+1 from me!

---

<div class="post-metadata">

**Author:** ![b3xbird](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@b3xbird](https://forum.obsidian.md/u/b3xbird)\
**Post date:** [November 25, 2023, 8:43pm UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/46 "2023-11-25T20:43:40Z")

</div>

+1 for –

hotkey: Cycle fold – 3 states

1. First press Folds up to heading under cursor
2. Unfold to show only direct sub-headings of heading under cursor
3. Unfolds entire content below heading under cursor.

Cycle fold hotkey + Holding Shift

1. Fold all headings in Document
2. Unfold all top level headings to sub-level
3. Unfold entire document

+2 for –

Hotkey - Iterative unfold (acts from heading immediately above cursor pos;

- alt+shift L unfolds to next heading level, alt-shift h folds one level up from lowest open heading

---

<div class="post-metadata">

**Author:** ![KasparOrange](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/k/13edae/32.png) [@KasparOrange](https://forum.obsidian.md/u/KasparOrange)\
**Post date:** [May 27, 2024, 4:31pm UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/47 "2024-05-27T16:31:14Z")

</div>

+1

But tbh I don’t have much hope here. I love Obsidian but I’m disappointed with the focus and the progress on the Roadmap. The updates don’t seem to actually follow the preferences of people here in the forum. This might be the 5th feature- request I’m +1ing to in about 2 years. Non of them even got on the roadmap… 😞

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [May 28, 2024, 5:58am UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/48 "2024-05-28T05:58:47Z")

</div>

> [@KasparOrange](#):
>
> The updates don’t seem to actually follow the preferences of people here in the forum. This might be the 5th feature- request I’m +1ing to in about 2 years. Non of them even got on the roadmap…

I understand how frustrating that can be (I have unfulfilled requests too, including ones I wrote myself), but 5 feature requests is a tiny percentage of the hundreds that have been posted in those 2 years.

---

<div class="post-metadata">

**Author:** ![kind-seed-ian](https://forum.obsidian.md/user_avatar/forum.obsidian.md/kind-seed-ian/32/89793_2.png) [@kind-seed-ian](https://forum.obsidian.md/u/kind-seed-ian)\
**Post date:** [August 12, 2024, 5:04pm UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/49 "2024-08-12T17:04:50Z")

</div>

I also vote for a OneNote style implementation.

---

<div class="post-metadata">

**Author:** ![david24](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/e19adc/32.png) [@david24](https://forum.obsidian.md/u/david24)\
**Post date:** [August 17, 2024, 2:46am UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/50 "2024-08-17T02:46:05Z")

</div>

This plugin is really helpful. But command “Fold headings by level” seems to be missing? ([Command "Fold headings by level xx" not found · Issue #63 · liamcain/obsidian-creases · GitHub](https://github.com/liamcain/obsidian-creases/issues/63))

---

<div class="post-metadata">

**Author:** ![afarrand](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/a88e4f/32.png) [@afarrand](https://forum.obsidian.md/u/afarrand)\
**Post date:** [October 4, 2024, 9:16am UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/51 "2024-10-04T09:16:16Z")

</div>

+1 for a “fold/unfold to level X header” command

---

<div class="post-metadata">

**Author:** ![churnish](https://forum.obsidian.md/user_avatar/forum.obsidian.md/churnish/32/89588_2.png) [@churnish](https://forum.obsidian.md/u/churnish)\
**Post date:** [October 26, 2024, 7:18pm UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/52 "2024-10-26T19:18:42Z")

</div>

+1

This would be a huge help for navigating larger notes. When I’m working on a detailed outline, being able to open or close sections up to a set level would make it so much easier to focus on what I need without all the extra scrolling. It’d add a nice level of control to note organization!

---

<div class="post-metadata">

**Author:** ![haszari](https://forum.obsidian.md/user_avatar/forum.obsidian.md/haszari/32/59767_2.png) [@haszari](https://forum.obsidian.md/u/haszari)\
**Post date:** [February 14, 2025, 12:22am UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/53 "2025-02-14T00:22:10Z")

</div>

I also totally want this – for example, fold all H1, fold all H1+H2.

There is `Fold more` and `Fold less` in hotkeys, but these don’t work the way I expect. They seem to fold the current line only, which is not really useful. I was assuming they would fold everything in the doc, and more / less would be how deep to fold.

---

<div class="post-metadata">

**Author:** ![haszari](https://forum.obsidian.md/user_avatar/forum.obsidian.md/haszari/32/59767_2.png) [@haszari](https://forum.obsidian.md/u/haszari)\
**Post date:** [February 14, 2025, 12:23am UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/54 "2025-02-14T00:23:17Z")

</div>

This is the kind of behaviour that I thought `Fold more` and `Fold less` would do.

---

<div class="post-metadata">

**Author:** ![haszari](https://forum.obsidian.md/user_avatar/forum.obsidian.md/haszari/32/59767_2.png) [@haszari](https://forum.obsidian.md/u/haszari)\
**Post date:** [February 14, 2025, 12:31am UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/55 "2025-02-14T00:31:12Z")

</div>

> [@json](#):
>
> In the meantime, I discovered the “Creases” plugin. It does a bunch of nifty things (and I’m still discovering most of them!) and it also includes hotkeys for folding/unfolding heading levels incrementally.

I got excited and tried this, but it doesn’t correctly collapse headings, it seems to hide stuff near the heading, but it’s parsing the document wrong, I can’t collapse all with it at all.

So we need this to be a core feature, since core already understands the document structure correctly. The feature is relatively simple IMO, a “macro” to fold/unfold specific heading levels only. I would hope this could be implemented as a bindable key command.

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [June 11, 2025, 8:16am UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/56 "2025-06-11T08:16:32Z")

</div>

Split this topic on June 11, 2025, 8:16am UTC

A post was split to a new topic: [Outline: Fold to specific heading level](https://forum.obsidian.md/t/outline-fold-to-specific-heading-level/101796)

---

<div class="post-metadata">

**Author:** ![foureyedsoul](https://forum.obsidian.md/user_avatar/forum.obsidian.md/foureyedsoul/32/1815_2.png) [@foureyedsoul](https://forum.obsidian.md/u/foureyedsoul)\
**Post date:** [May 26, 2026, 11:22pm UTC](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276/57 "2026-05-26T23:22:02Z")

</div>

Adding another +1 for this very old request. Two of the most frequently-suggested workarounds (Creases and the Fold All Headings) are not feasible substitutes for a native feature with associated key commands.

## Creases

Although many people mention the (very capable!) [Creases plugin](https://github.com/liamcain/obsidian-creases), that plugin has been effectively abandoned since 2023.

I tend toward longer documents with 10 or more headings, and Creases frequently will “glitch” how Obsidian parses / renders a note. This glitch creates strange spans of visual blank space. Worse, it interferes with text **editing** : newly-typed text appears multiple times and text insertion or deletion often happens multiple lines away from where the cursor appears to be.

This glitched state persists until I restart Obsidian. This glitch has begun happening so frequently that I’ve sadly had to turn Creases off entirely.

## Fold All Headings command

This only way that this “workaround” can “work” is if one ignores the fact that there should only be a single [H1 heading](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/Heading_Elements#avoid_using_multiple_h1_elements_on_one_page) in HTML documents. Although I imagine someone could argue that Markdown isn’t precisely the same as HTML, but since Markdown is effectively a subset of HTML, they are close enough that the same accessibility technologies, concerns, and best practices pertain to both.

I hope that Obsidian’s developers implement this and make it a customizable key command soon.

[Previous page](https://forum.obsidian.md/t/fold-unfold-headings-up-to-specific-level-hotkeys/8276.md?page=2)
