In VIM, at the moment when I need to comment out a section of Ruby code:
You can also do this:
Ctrl + q
to enter Visual Block modeI
, comment out by pressing #
ESC
And to uncomment:
#
of commentCtrl + q
to enter Visual Block moded
to remove the comment characters