vim line comment code example
Example 1: vimrc comment
"This is a comment in vimrc. It does not have a closing quote
Example 2: vim comment block
#for commenting:
Press ESC
:[StartNumber],[ENDNumber]s/^/#
:66,70s/^/#
for uncommenting:
Press ESC
:[StartNumber],[ENDNumber]s/^#/
:66,70s/^#/
#PS: To see line numbers:
Pres ESC
:set number