Comment a block of text in VIM

it’s easy to comment a large text zone in VIM:

switch in visual mode (CTRL + V)
press touch I (upcase i)
Enter the comment caractere (# for exemple or // for exemple)
And now press ESC.

Et voilĂ !

Leave a Reply