diff --git a/DragCommands/Insert Anchor href 2.tmDragCommand b/DragCommands/Insert Anchor href 2.tmDragCommand new file mode 100644 index 0000000..2ab2954 --- /dev/null +++ b/DragCommands/Insert Anchor href 2.tmDragCommand @@ -0,0 +1,33 @@ + + + + + command + title=`echo $TM_DROPPED_FILE | perl -pe 's/^(.*\/)?(.*?)(\..*)?$/$2/g'` +echo -n "href=\"$TM_DROPPED_FILE\" title=\"\${1:$title}\" " + draggedFileExtensions + + html + htm + rhtml + shtml + phtml + php + php3 + php4 + php5 + cfm + cfml + dbm + dbml + + name + Insert Anchor href + output + insertAsSnippet + scope + text.html meta.tag entity.other.attribute-name -string.quoted + uuid + 6F71B1E5-81D0-4D94-A2C5-7688A3D3EDB3 + + diff --git a/DragCommands/Insert Anchor href.tmDragCommand b/DragCommands/Insert Anchor href.tmDragCommand new file mode 100644 index 0000000..8bf0412 --- /dev/null +++ b/DragCommands/Insert Anchor href.tmDragCommand @@ -0,0 +1,33 @@ + + + + + command + title=`echo $TM_DROPPED_FILE | perl -pe 's/^(.*\/)?(.*?)(\..*)?$/$2/g'` +echo -n " href=\"$TM_DROPPED_FILE\" title=\"\${1:$title}\"" + draggedFileExtensions + + html + htm + rhtml + shtml + phtml + php + php3 + php4 + php5 + cfm + cfml + dbm + dbml + + name + Insert Anchor href + output + insertAsSnippet + scope + text.html meta.tag -string.quoted -entity + uuid + BD4AEF38-638B-4C47-A762-4A0A6190F9C7 + + diff --git a/DragCommands/Insert URL.tmDragCommand b/DragCommands/Insert URL.tmDragCommand new file mode 100644 index 0000000..7363338 --- /dev/null +++ b/DragCommands/Insert URL.tmDragCommand @@ -0,0 +1,33 @@ + + + + + command + title=`echo $TM_DROPPED_FILE | perl -pe 's/^(.*\/)?(.*?)(\..*)?$/$2/g'` +echo -n "$TM_DROPPED_FILE\" title=\"\${1:$title}" + draggedFileExtensions + + html + htm + rhtml + shtml + phtml + php + php3 + php4 + php5 + cfm + cfml + dbm + dbml + + name + Insert URL + output + insertAsSnippet + scope + text.html meta.tag string.quoted + uuid + 30130739-4E58-4720-9B27-88C7EE168D83 + + diff --git a/info.plist b/info.plist index 90921de..f349273 100644 --- a/info.plist +++ b/info.plist @@ -197,6 +197,9 @@ 4400BCE9-20E3-426E-B1D7-2C0BCA53BCF8 9AFDEB2C-D9F0-423E-8211-EBB089F51F0C B23D6E15-6B33-11D9-86C1-000D93589AF6 + BD4AEF38-638B-4C47-A762-4A0A6190F9C7 + 6F71B1E5-81D0-4D94-A2C5-7688A3D3EDB3 + 30130739-4E58-4720-9B27-88C7EE168D83 C8B717C2-6B33-11D9-BB47-000D93589AF6 92F77050-74F9-4DF7-9A6E-2B42641849F7 CD6D2CC6-6B33-11D9-BDFD-000D93589AF6