# Swap folded lines together

**URL:** <https://forum.obsidian.md/t/swap-folded-lines-together/6857>\
**Category:** Feature requests\
**Created:** [October 10, 2020, 2:31pm UTC](https://forum.obsidian.md/t/swap-folded-lines-together/6857 "2020-10-10T14:31:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![juen](https://forum.obsidian.md/user_avatar/forum.obsidian.md/juen/32/4826_2.png) [@juen](https://forum.obsidian.md/u/juen)\
**Post date:** [October 10, 2020, 2:31pm UTC](https://forum.obsidian.md/t/swap-folded-lines-together/6857/1 "2020-10-10T14:31:00Z")

</div>

Currently, folded lines don’t count as “one line” for the purpose of swapping them up/down.

 ![image](https://forum.obsidian.md/uploads/default/original/2X/7/79270bbd9ea956595e065b30be6670da1d9288cb.png)

Test it out:

- Fold a heading
- Use the hotkey (set in `Settings` --\> `Hotkeys`) to swap line up/down

–\> The heading line will move but all the lines underneath the heading will stay where they are

* * *

It would be great to have folded lines swap together!

Using only the keyboard (hotkey for `Toggle fold on current line` and `Swap line up/down`) this would allow for **quick rearranging of lists or paragraphs!**

---

<div class="post-metadata">

**Author:** ![functionalStoic](https://forum.obsidian.md/user_avatar/forum.obsidian.md/functionalstoic/32/4360_2.png) [@functionalStoic](https://forum.obsidian.md/u/functionalStoic)\
**Post date:** [October 10, 2020, 2:34pm UTC](https://forum.obsidian.md/t/swap-folded-lines-together/6857/2 "2020-10-10T14:34:50Z")

</div>

+1 I consistently run into this limitation. Having Swap line is great, but folded sections need to be accounted for as well. Thanks!

---

<div class="post-metadata">

**Author:** ![NGO-Guy](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/n/3ec8ea/32.png) [@NGO-Guy](https://forum.obsidian.md/u/NGO-Guy)\
**Post date:** [October 23, 2020, 11:56am UTC](https://forum.obsidian.md/t/swap-folded-lines-together/6857/3 "2020-10-23T11:56:50Z")

</div>

+1 - would add that the same would be cool for promoting-demoting (de-/increasing indentation) of a folded line.

---

<div class="post-metadata">

**Author:** ![malecjan](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@malecjan](https://forum.obsidian.md/u/malecjan)\
**Post date:** [January 8, 2021, 9:10pm UTC](https://forum.obsidian.md/t/swap-folded-lines-together/6857/4 "2021-01-08T21:10:02Z")

</div>

### Related feature requests:

- [Rearrange parts of note](https://forum.obsidian.md/t/rearrange-parts-of-note/5049)
- [Indent outline carries children](https://forum.obsidian.md/t/indent-outline-carries-children/2505)
- [Navigate, move, indent and unindent by heading](https://forum.obsidian.md/t/navigate-move-indent-and-unindent-by-heading/4202)
- [Hope enhance outliner mode experience in Obsidian](https://forum.obsidian.md/t/hope-enhance-outliner-mode-experience-in-obsidian/7595)

---

<div class="post-metadata">

**Author:** ![estonia](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/e/b487fb/32.png) [@estonia](https://forum.obsidian.md/u/estonia)\
**Post date:** [May 19, 2021, 3:27pm UTC](https://forum.obsidian.md/t/swap-folded-lines-together/6857/5 "2021-05-19T15:27:49Z")

</div>

As mentioned somewhere else:

> Shifting folded content as the feature currently works feels buggy. Because it’s acting on content we can’t see. It’s a little disconcerting.
