Report abuse

Intro

1
2
3
This TextMate shortcut saves your file and reloads safari. 

For other browsers, check here - http://wiki.macromates.com/textmate/show/Howtos.html

Instructions

1
2
3
4
5
6
7
Textmate > Bundles > Bundle Editor > Edit Commands

Add a new Command, paste the Command below, choose a shortcut. 
Change 'Save' to 'Current File' if you'd like. 
Change 'Input' to 'None'
Change 'Output' to 'Discard'

Command

1
2
3
4
5
6
7
8
9
10
Command: 
osascript -e "set theActiveURL to \"window.location.reload();\" 
tell application \"Safari\" 
activate
do JavaScript theActiveURL in first document
end tell
tell application \"TextMate\"
activate
end tell
"

Credits

1
2
Found on the TextMate wiki
Alex Heaton - www.heaton.me