How to comment multiple lines at once in VIM
شنبه, ۱ آبان ۱۳۹۵، ۱۰:۴۴ ب.ظ
For commenting a block of text is almost the same: First, go to the first line you want to comment, press CtrlV, and select until the last line. Second, press ShiftI#Esc (then give it a second), and it will insert a #
character on all selected lines.