Skip to content
This repository

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…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 plugin
Octocat-spinner-32 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.