Add the text at the begining and end of the line.

posted Oct 10, 2011, 1:29 PM by Sachchida Ojha
  :%s/^/@/g  - Add @ at the begining of the line.
  :%s/$/.sql/g - Add .sql at the end of the line.
Comments