Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
LaunchAgent for using macvim as a lab notebook as in http://www.stochasticgeometry.ie/2012/11/23/vimwiki/
<?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
You can’t perform that action at this time.