Skip to content
krisleech edited this page Oct 27, 2011 · 1 revision

Turn on folding for Ruby

:let ruby_fold=1

If you already have a file open, you will need to reopen it. By default only the top level fold is open.

Visually show folds (optional)

:let foldcolumn=4

Open and close folds

zR open all folds

zM close all folds

zo open fold

zO open fold recursively

zc close fold

zC close fold recursively

:help folding for more!

Clone this wiki locally