comment
- go to the first line you want to comment
- control + c enter visual mode
- navigate to the last line you want to comment
- shift + i enter edit mode
- type the comment symbol
#
,//
or whatever - press ESC twice to exit
uncomment
- go to the first line you want to uncomment
- control + c enter visual mode
- navigate to the last line of the comment block
- select characters if the comment symbol is more than one character like
//
- press x to delete
- press ESC twice to exit