diff options
Diffstat (limited to 'Misc/TextMate/Python-Dev.tmbundle/Commands/Open PEP.tmCommand')
-rw-r--r-- | Misc/TextMate/Python-Dev.tmbundle/Commands/Open PEP.tmCommand | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Misc/TextMate/Python-Dev.tmbundle/Commands/Open PEP.tmCommand b/Misc/TextMate/Python-Dev.tmbundle/Commands/Open PEP.tmCommand new file mode 100644 index 0000000..af5533a --- /dev/null +++ b/Misc/TextMate/Python-Dev.tmbundle/Commands/Open PEP.tmCommand @@ -0,0 +1,23 @@ +<?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>command</key> + <string># XXX Worth supporting using a local copy? + +# Dumb luck that an unrecognized number leads to a 0 being used. +open `printf "http://www.python.org/dev/peps/pep-%04d" $(cat)`</string> + <key>fallbackInput</key> + <string>word</string> + <key>input</key> + <string>selection</string> + <key>name</key> + <string>Open PEP</string> + <key>output</key> + <string>discard</string> + <key>uuid</key> + <string>EDBB037F-AAE3-4512-863F-D9AA82C9E51E</string> +</dict> +</plist> |