Deleting folded text in vim mode only removes first line

Problem discovered with default setup and Obsidian 0.12.12.

Steps to reproduce

  1. Enable ‘Fold heading’ and ‘Fold indent’ in Editor options and vim mode
  2. Create a heading with some text and add some content under the heading.
  3. Use ‘zc’ in normal mode to fold the heading
  4. 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

Additional information

1 Like

Bump.