Skip to content

Instantly share code, notes, and snippets.

@jonatas
Created January 22, 2010 16:03
Show Gist options
  • Save jonatas/283869 to your computer and use it in GitHub Desktop.
Save jonatas/283869 to your computer and use it in GitHub Desktop.
quero alterar uma linha que começa com:
FROM tabela
para transformar em:
FROM
tabela
para buscar a sintaxe no vim:
/^FROM \(.*\)\(\n\)
depois é só substituir usando:
:%s/FROM \2\1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment