It sounds like you're thinking about folds, although they only work in vim, not vi. To create folds, first "set foldmethod=manual", then use "zf" to fold text. If you're editing a C file you can use "set foldmethod=syntax" to have vim create the folds for you. Use "zo" to open a fold and "zc" to...