I know that one can use the following to remove comment lines that start with "#" each line via:
Code:
cat somefile | grep -v \# | vi
But is it possible to hide commentary lines in vi/vim? I know that there are additional macros e.g. for folding that may introduce such features.
Alas, I didn't find any cues to such a functionality...