Collapse the parts of a document you’re not working on, so a long file stays navigable.
- Code folding — fold
\begin{…} … \end{…}environments and sectioning blocks (\part,\chapter,\section,\subsection, …) down to their header line. A chevron in the gutter toggles each foldable region, and a collapsed section stays out of the way until you expand it again — handy for focusing on one part of a large document without losing the overall structure.
Leave a Reply