View: Fold

view.fold

Fold the region at the caret.

How to run it

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

Emacs C-cC-f
Sublime Text C-S-[

See also