Files
atom/bundles/html.tmbundle/DragCommands/Insert URL.tmDragCommand
Corey Johnson & Nathan Sobo f47b510d7c Add HTML TextMate bundle
2012-09-28 13:36:43 -06:00

34 lines
952 B
XML

<?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>command</key>
<string>title=`echo $TM_DROPPED_FILE | perl -pe 's/^(.*\/)?(.*?)(\..*)?$/$2/g'`
echo -n "$TM_DROPPED_FILE\" title=\"\${1:$title}"</string>
<key>draggedFileExtensions</key>
<array>
<string>html</string>
<string>htm</string>
<string>rhtml</string>
<string>shtml</string>
<string>phtml</string>
<string>php</string>
<string>php3</string>
<string>php4</string>
<string>php5</string>
<string>cfm</string>
<string>cfml</string>
<string>dbm</string>
<string>dbml</string>
</array>
<key>name</key>
<string>Insert URL</string>
<key>output</key>
<string>insertAsSnippet</string>
<key>scope</key>
<string>text.html meta.tag string.quoted</string>
<key>uuid</key>
<string>30130739-4E58-4720-9B27-88C7EE168D83</string>
</dict>
</plist>