how to use vim
if you just want to comment-out a line do this:
go to the line with the cursor keys.
press "i" (to go to insertion mode)
type "#" (to comment out the line)
press "ESCAPE" (to go back to command mode)
type ":x" (to save and quit)
I hope this helps