auto comment in vim code example
Example 1: 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
Example 2: .vimrc comment
"This is a comment in vimrc. It does not have a closing quote