Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Auto-refreshes the CSS files of the current Safari tab after saving a CSS file.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
plugin
README.md

README.md

CSS Refresher for VIM

Reloads the CSS files of the current Safari tab everytime a .css file is saved.

Usage

  • Install this VIM plugin using pathogen. (alternatively, just copy the files to ~/.vim/plugin)

  • Open your project in Safari. Make sure it's the front-most tab.

  • Open a CSS file in that project in VIM.

  • Make a few changes and save it.

  • Watch as Safari refreshes your CSS changes!

Assumptions

  • You're using a Mac (relies on AppleScript); and

  • Your browser of choice is Safari.

Caution: This is a quick and dirty hack, use at your own risk!

Something went wrong with that request. Please try again.