This is a vim plugin for adding vim commands to utilize thoughtbot's refills gem.
For example, if you want to generate the hero refill you would run
the following command in vim: :RefillHero
This will run the following command in your shell:
rails generate refills:import hero
The help file (accessed via :help vim-refills
) now contains anchor links to
each refill. Navigate to them in your browser via placing your cursos on the
link and typing gx.
If you deleted stylesheet sprocket directives you will have to either require the entire refills directory:
@import 'refills/*'
or list each component one by one:
@import 'refills/hero'
You can now use the refill as a partial.
<%= render "refills/hero" %>