Vim Tricks

  • Get rid of ^M characters: :%s/^M/^M/g (^M is control+v, return)
  • Comment out section:
    • ctrl+v
    • scroll down to end of section
    • shift+i
    • type the characters to insert at the front of the line
    • Esc

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.