Sometimes, in Vim, I want to show only a specific part of a file (for example, a specific method) while hiding the rest.
This helps me to focus at the problem at han
:help folding
Not quite up to speed on folding myself, but I believe that's the feature you're looking for.