Folds comments in VIM
:set fdm=expr:set fde=getline(v:lnum)=~'^\\s#'?1:getline(prevnonblank(v:lnum))=~'^\\s#'?1:getline(nextnonblank(v:lnum))=~'^\\s*#'?1:0
Blocks of consecutive comment lines are reduced (folded) to one high-lighted line that can be opened by moving the cursor to the line and typing "zo" and closed by typing "zc"
Blocks of consecutive comment lines are reduced (folded) to one high-lighted line that can be opened by moving the cursor to the line and typing "zo" and closed by typing "zc"