Skip to content

Instantly share code, notes, and snippets.

@jansanchez
Last active October 12, 2015 15:40
Show Gist options
  • Save jansanchez/f7a9d5c87bb730f189a0 to your computer and use it in GitHub Desktop.
Save jansanchez/f7a9d5c87bb730f189a0 to your computer and use it in GitHub Desktop.
Agregar caracteres al inicio y al final de cada archivo en VIM

agrega +" al inicio de cada linea

%s/^/\+"/g

agrega \n" al final de cada linea

%s/$/\\n"/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment