Created
December 3, 2012 18:46
-
-
Save alexlovelltroy/4197022 to your computer and use it in GitHub Desktop.
LaunchAgent for using macvim as a lab notebook as in http://www.stochasticgeometry.ie/2012/11/23/vimwiki/
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.programmerNotebook.StartPeriodically</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/mvim</string> | |
<string>-c</string> | |
<string>call vimwiki#diary#make_note(v:count1)</string> | |
<string>-c</string> | |
<string>r !date +'\%n= \%H:\%Mh =\%n'</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>ExitTimeOut</key> | |
<integer>360</integer> | |
<key>StartInterval</key> | |
<integer>3600</integer> | |
<key>LimitLoadToSessionType</key> | |
<string>Aqua</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment