Edit: Narrow to Fold Region

edit.narrowToFoldRegion

Restrict the buffer to the foldable block around the caret.

How to run it

Open the command palette (M-x in the Emacs keymap) and search for Edit: Narrow to Fold Region, then press Enter. It also has a default keybinding:

Emacs C-xnf

See also