/usr/share/gedit/plugins/snippets/snippets.xml is in gedit-common 3.14.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | <?xml version="1.0" encoding="UTF-8"?>
<snippets language="snippets">
<snippet id="simple">
<text><![CDATA[\${${1:n:default}}]]></text>
<description>Simple Placeholder</description>
<tag>simple</tag>
</snippet>
<snippet id="simple-fallback">
<text><![CDATA[\${${1:n:}[${2:default1,default2}]}]]></text>
<description>Simple Fallback Placeholder</description>
<tag>simplef</tag>
</snippet>
<snippet id="shell">
<text><![CDATA[\$(${1:n:} ${2:shell code})]]></text>
<description>Shell Placeholder</description>
<tag>shell</tag>
</snippet>
<snippet id="python">
<text><![CDATA[\$<${1:n:} ${2:[refs]:} return 'python code' >]]></text>
<description>Python Placeholder</description>
<tag>python</tag>
</snippet>
<snippet id="regex">
<text><![CDATA[\${${1:n:} ${2:input}/${3:regex-pattern}/${4:replacement}/${5:modifiers}}]]></text>
<description>Regular Expression Placeholder</description>
<tag>regex</tag>
</snippet>
<snippet id="$-CURRENT_DOCUMENT_PATH">
<text><![CDATA[\$GEDIT_CURRENT_DOCUMENT_PATH]]></text>
<description>Gedit Current Document Path Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_DOCUMENT_NAME">
<text><![CDATA[\$GEDIT_CURRENT_DOCUMENT_NAME]]></text>
<description>Gedit Current Document Name Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_DOCUMENT_URI">
<text><![CDATA[\$GEDIT_CURRENT_DOCUMENT_URI]]></text>
<description>Gedit Current Document Uri Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_DOCUMENT_SCHEME">
<text><![CDATA[\$GEDIT_CURRENT_DOCUMENT_SCHEME]]></text>
<description>Gedit Current Document Scheme Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_DOCUMENT_TYPE">
<text><![CDATA[\$GEDIT_CURRENT_DOCUMENT_TYPE]]></text>
<description>Gedit Current Document Type Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-DOCUMENTS_URI">
<text><![CDATA[\$GEDIT_DOCUMENTS_URI]]></text>
<description>Gedit Documents Uri Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-DOCUMENTS_PATH">
<text><![CDATA[\$GEDIT_DOCUMENTS_PATH]]></text>
<description>Gedit Documents Path Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-SELECTED_TEXT">
<text><![CDATA[\$GEDIT_SELECTED_TEXT]]></text>
<description>Gedit Selected Text Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_WORD">
<text><![CDATA[\$GEDIT_CURRENT_WORD]]></text>
<description>Gedit Current Word Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_LINE">
<text><![CDATA[\$GEDIT_CURRENT_LINE]]></text>
<description>Gedit Current Line Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_LINE_NUMBER">
<text><![CDATA[\$GEDIT_CURRENT_LINE_NUMBER]]></text>
<description>Gedit Current Line Number Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-DROP_FILENAME">
<text><![CDATA[\$GEDIT_DROP_FILENAME]]></text>
<description>Gedit Drop Filename Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-DROP_REL_FILENAME">
<text><![CDATA[\$GEDIT_DROP_REL_FILENAME]]></text>
<description>Gedit Drop Relative Filename Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-DROP_MIME_TYPE">
<text><![CDATA[\$GEDIT_DROP_MIME_TYPE]]></text>
<description>Gedit Drop Mime Type Variable</description>
<tag>$</tag>
</snippet>
</snippets>
|