cakephp_tmbundle / branches / master / Commands / Lookup in API.plist
history
<?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>beforeRunningCommand</key>
<string>nop</string>
<key>bundlePath</key>
<string>/Users/kumar/Library/Application Support/TextMate/Bundles/Custom.tmbundle</string>
<key>command</key>
<string>if [ `echo "$TM_CURRENT_WORD" | grep -Ev '[a-zA-Z0-9_]+'` ]; then
echo "Nothing to lookup (hint: place the cursor on a function name)"
exit 1
fi
open http://api.cakephp.org/search/$TM_CURRENT_WORD</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^H</string>
<key>name</key>
<string>Lookup in API</string>
<key>output</key>
<string>discard</string>
<key>scope</key>
<string>source.php.cake, text.html.php.cake</string>
<key>uuid</key>
<string>365F0868-308E-44BC-8781-2B65CBF48B74</string>
</dict>
</plist>
