Skip to content

Instantly share code, notes, and snippets.

@niltonvasques
Last active August 2, 2018 18:03
Show Gist options
  • Save niltonvasques/d4806c1f657cabca6237 to your computer and use it in GitHub Desktop.
Save niltonvasques/d4806c1f657cabca6237 to your computer and use it in GitHub Desktop.
Replace in many files using vim
args **/**.js.erb | argdo execute '%s/<%= I18n.t \(.*\) %>/I18n.t(\1)/g' | update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment