Skip to content


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.
Shell VimL
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

CSS Refresher for VIM

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


  • 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!


  • 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.