Skip to content

Instantly share code, notes, and snippets.

@ecpplus
Created March 2, 2012 17:36
Show Gist options
  • Save ecpplus/1959881 to your computer and use it in GitHub Desktop.
Save ecpplus/1959881 to your computer and use it in GitHub Desktop.
Rails で bootstrap1->2に上げたときのvimの置換(form)
:%S/clearfix/control-group/gc
:%S/class="input"/class="controls"/gc
:%S/(f.label.*)\s%>/\1, :class => 'control-label' %>/gc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment