Thursday, November 30, 2023

how to multi line comment in vim

  1. ctrl + v
  2. shift + I then # (or whatever your comment)
  3. hit escape

this applys the comment to all the selected lines in visual block mode

No comments:

Post a Comment