diff options
Diffstat (limited to 'snippet-mode')
-rw-r--r-- | snippet-mode/cont | 5 | ||||
-rw-r--r-- | snippet-mode/elisp | 5 | ||||
-rw-r--r-- | snippet-mode/field | 6 | ||||
-rw-r--r-- | snippet-mode/group | 5 | ||||
-rw-r--r-- | snippet-mode/mirror | 6 | ||||
-rw-r--r-- | snippet-mode/vars | 13 |
6 files changed, 40 insertions, 0 deletions
diff --git a/snippet-mode/cont b/snippet-mode/cont new file mode 100644 index 0000000..3783d54 --- /dev/null +++ b/snippet-mode/cont @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: cont +# key: cont +# -- +# contributor: `user-full-name`
\ No newline at end of file diff --git a/snippet-mode/elisp b/snippet-mode/elisp new file mode 100644 index 0000000..768e94d --- /dev/null +++ b/snippet-mode/elisp @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: elisp +# key: ` +# -- +\`$0\`
\ No newline at end of file diff --git a/snippet-mode/field b/snippet-mode/field new file mode 100644 index 0000000..12ff0e0 --- /dev/null +++ b/snippet-mode/field @@ -0,0 +1,6 @@ +# name : ${ ... } field +# contributor : joaotavora +# key : $f +# key: field +# -- +\${${1:${2:n}:}$3${4:\$(${5:lisp-fn})}\}$0
\ No newline at end of file diff --git a/snippet-mode/group b/snippet-mode/group new file mode 100644 index 0000000..3ae8fd2 --- /dev/null +++ b/snippet-mode/group @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: group +# key: group +# -- +# group : ${1:group}
\ No newline at end of file diff --git a/snippet-mode/mirror b/snippet-mode/mirror new file mode 100644 index 0000000..2a45042 --- /dev/null +++ b/snippet-mode/mirror @@ -0,0 +1,6 @@ +# name : ${n:$(...)} mirror +# key : $m +# contributor : joaotavora +# key: mirror +# -- +\${${2:n}:${4:\$(${5:reflection-fn})}\}$0
\ No newline at end of file diff --git a/snippet-mode/vars b/snippet-mode/vars new file mode 100644 index 0000000..ec4e4b6 --- /dev/null +++ b/snippet-mode/vars @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name : Snippet header +# contributor : joaotavora +# key: vars +# -- +# name : $1${2: +# key : ${3:trigger-key}}${4: +# keybinding : ${5:keybinding}}${6: +# expand-env : (${7:})} +# contributor : $6 +# key: vars +# -- +$0
\ No newline at end of file |