Skip to content
[deprecated] Auto-refreshes the CSS files of the current Safari tab after saving a CSS file.
Shell VimL
Latest commit 20538ef Sep 12, 2010 @rstacruz Update README.
Failed to load latest commit information.
plugin Update the autorefresher code in the vim script. Sep 12, 2010

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.