vim Folding Showing the Line Containing the Cursor


Example

zv will ensure the line containing the cursor is not folded. The minimum number of folds required to expose the cursor line will be opened.