Skip to content

Instantly share code, notes, and snippets.

@huydx
Created November 28, 2012 17:22
Show Gist options
  • Save huydx/4162664 to your computer and use it in GitHub Desktop.
Save huydx/4162664 to your computer and use it in GitHub Desktop.
prepend to top of each file with Regex VIM
:args **/*.ruby
:set hidden
:argdo norm! O# encoding: UTF-8
:wqa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment