Vi a shit. SHIT!

Almost as bad as bixnood, saved for future fun-posting.

Some people make such a big deal out of a fucking editor they get stuck with one neurone for a lifetime.

Tyson didn't knock people out with criticism of their fighting techniques, he got into the ring and did it. No philosophy, dedication and focused work.

no thanks

Why not just copy the file after editing it in comfortable environment set for your needs? Why would an embedded MRI machine even have a text editor on it's non-volatile memory?

:set showmode

Just set a mark with mm, go to the end, then use something like d'm to delete the entire range.

On first line: mm
On last line: :'m,.s/^/# to put # at the start of each line in the range.

Just press 1G ("go to line 1") or put map gg 1G in your exrc if you really want gg.

True

:set showmatch

Learn the difference, it might help you.

...

The fact that vimfags think this is acceptable user experience is laughworthy.

That's vi, not Vim. In Vim you just Ctrl-v, select the area, shift-i #.

You could just put map V :'m,/s/^/ in your .exrc which makes it about as simple as Vim. mm at start, shift-V # (or whatever you want to put) enter at end. Same exact amount of keystrokes. E.g.:

mm}V# ESCvs.Ctrl-v}I# RET

Or just install this plugin, select the text and press gc:
github.com/tpope/vim-commentary