VIM text folding .
-
What is text folding and why shall I use it. Folding means to hide blocks
of code. It is easy to compare some time parts of the code by hiding block
of text, which appears in between, using VIM
manual folding.
-
First folding has to be enabled:
:se fdm
Second fold text by number of lines down to current position by the
command:
zf3j
Or put a marker a and then issue:
zf'a
To delete:
zd
|