Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save splhack/3000309 to your computer and use it in GitHub Desktop.
Save splhack/3000309 to your computer and use it in GitHub Desktop.
~/Library/LaunchAgents/org.grumpy-troll.EditWithEmacs-pycl.plist
cp "Library/Application Support/Google/Chrome/Default/Extensions/ljobjlafonikaiipfkggjbhkghgicgoh/1.11_0/servers/pycl.py" /usr/local/bin
chmod 755 /usr/local/bin/pycl.py
<?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>OnDemand</key>
<false/>
<key>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>org.grumpy-troll.EditWithEmacs-pycl</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/pycl.py</string>
<string>--editor</string>
<string>/Applications/MacVim.app/Contents/MacOS/mvim,--remote-wait-silent</string>
</array>
<key>LimitLoadToSessionType</key>
<string>Aqua</string>
</dict>
</plist>
launchctl load -S aqua ~/Library/LaunchAgents/org.grumpy-troll.EditWithEmacs-pycl.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment