Problem discovered with default setup and Obsidian 0.12.12.
Steps to reproduce
- Enable ‘Fold heading’ and ‘Fold indent’ in Editor options and vim mode
- Create a heading with some text and add some content under the heading.
- Use ‘zc’ in normal mode to fold the heading
- Use ‘dd’ to delete folded line
Expected result
All folded content should be deleted.
Actual result
Only the first line of the fold is deleted.
Environment
- Operating system: Linux
- Obsidian version: v0.12.12