Skip to content

Comment out code with VIM

  1. select the first character of your block
  2. press crtl + v (rectangular visual selectionn mode)
  3. type j for each line you want to be commented
  4. type shift + i ("insert at start")
  5. type #
  6. end with ESC