summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/snippet-mode
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/snippets/text-mode/snippet-mode')
-rw-r--r--emacs.d/snippets/text-mode/snippet-mode/field5
-rw-r--r--emacs.d/snippets/text-mode/snippet-mode/mirror5
-rw-r--r--emacs.d/snippets/text-mode/snippet-mode/vars9
3 files changed, 19 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/snippet-mode/field b/emacs.d/snippets/text-mode/snippet-mode/field
new file mode 100644
index 0000000..bdaf0d4
--- /dev/null
+++ b/emacs.d/snippets/text-mode/snippet-mode/field
@@ -0,0 +1,5 @@
+# name : ${ ... } field
+# contributor : joaotavora
+# key : $f
+# --
+\${${1:${2:n}:}$3${4:\$(${5:lisp-fn})}\}$0 \ No newline at end of file
diff --git a/emacs.d/snippets/text-mode/snippet-mode/mirror b/emacs.d/snippets/text-mode/snippet-mode/mirror
new file mode 100644
index 0000000..1c32eeb
--- /dev/null
+++ b/emacs.d/snippets/text-mode/snippet-mode/mirror
@@ -0,0 +1,5 @@
+# name : ${n:$(...)} mirror
+# key : $m
+# contributor : joaotavora
+# --
+\${${2:n}:${4:\$(${5:reflection-fn})}\}$0 \ No newline at end of file
diff --git a/emacs.d/snippets/text-mode/snippet-mode/vars b/emacs.d/snippets/text-mode/snippet-mode/vars
new file mode 100644
index 0000000..ea5a8c7
--- /dev/null
+++ b/emacs.d/snippets/text-mode/snippet-mode/vars
@@ -0,0 +1,9 @@
+# name : Snippet header
+# contributor : joaotavora
+# --
+# name : $1${2:
+# key : ${3:expand-key}}${4:
+# group : ${5:group}}
+# contributor : $6
+# --
+$0 \ No newline at end of file