Created
November 15, 2011 23:23
-
-
Save avhm/1368722 to your computer and use it in GitHub Desktop.
Simple textmate 'open preview' code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place the below code into a command within a new bundle, and set the output to 'Show as HTML' | |
#!/bin/bash | |
echo "<script>window.resizeTo(800,1000); window.location = '$TM_FILEPATH';</script>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment