This is an old revision of the document!
replace pattern after string
:s/\(|\s.*\)\@<=\s/\ /g
folding
commands
zf#jcreates a fold from the cursor down # lines.zf/stringcreates a fold from the cursor to string .zjmoves the cursor to the next fold.zkmoves the cursor to the previous fold.zoopens a fold at the cursor.zOopens all folds at the cursor.zmincreases the foldlevel by one.zMcloses all open folds.zrdecreases the foldlevel by one.zRdecreases the foldlevel to zero – all folds will be open.zddeletes the fold at the cursor.zEdeletes all folds.[zmove to start of open fold.]zmove to end of open fold.
via https://gist.github.com/lestoni/8c74da455cce3d36eb68
—
Neovim docs https://stackoverflow.com/questions/61795798/recalculating-folds-in-vim-without-applying-foldlevel#comment111082546_61795798
