Create a fold from a motion with zf{motion}. It lets you collapse a precisely chosen span of text.
Commands you practise
zf{motion}
Create a fold from the cursor to its matching brace with zf%. It is the perfect way to quickly collapse any code block.
Levels
Fold of Gold (easy): Fold the block between the matching braces using zf%.
Pleat Repeat (medium): Fold both lists using a motion, and repeat the change for the second list.
Origami Jumps (hard): Fold the helper function using matching brackets, then change the return value of the main function.
Each level opens a real Neovim session in your browser with a start file and a target file. Edit one into the other in as few keystrokes as you can, then race the vimbot's solution.
Part of VimGolf.ai Premium ($10 once, lifetime). Region: folding commands. See the whole skill map.