zo can open folded lines in normal mode. What if I'm in insert mode?
Fold it with
:1,2fold in ex mode; now, the cursor is in the beginning of line1. Then press
o to switch to insert mode, move the cursor to the beginning of line1, press
z, and the content will turn into this:
How to unfold lines in insert mode instead of adding the character