I was unable find any reliable Vim plug-ins for auto-refreshing Safari on save so I wrote my own.
First, add this AppleScript to .vim/applescript/ (or somewhere else, if you’re not into that):
Then add the following to your .vimrc (be sure to change the path to the AppleScript if you didn’t use the same directory as I did):
This will automatically reload whatever tab is visible in Safari whenever you save your files, saves you from that weird ⌘-Tab, ⌘-R dance.




