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
Posted in

Post a comment

You may use the following HTML:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>