Created
June 11, 2014 20:24
-
-
Save jdmonaco/30ed7f0fee6af38bae19 to your computer and use it in GitHub Desktop.
To fix backward-search synchronization (SyncTeX) between Skim and TextMate set Skim > Preferences > Sync > Preset to "Custom" with the command pointing to this script file and Arguments set to '%line "%file"' (without the single quotes). The problem is that (for as yet unknown reasons) the Shift-Cmd-click in Skim started opening a new editor win…
This file contains 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
#!/usr/bin/osascript | |
on run argv | |
set mateScript to "mate -l " & item 1 of argv & " " & item 2 of argv | |
tell application "Terminal" | |
set thisTab to do script mateScript | |
set visible of window 1 to false | |
delay 0.5 | |
do script "exit" in thisTab | |
delay 0.5 | |
close window 1 | |
end tell | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment