diff options
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/snippet-mode')
4 files changed, 22 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/snippet-mode/.yas-parents b/emacs.d/lisp/yasnippet/snippets/snippet-mode/.yas-parents new file mode 100644 index 0000000..eed5b44 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/snippet-mode/.yas-parents @@ -0,0 +1 @@ +text-mode diff --git a/emacs.d/lisp/yasnippet/snippets/snippet-mode/field b/emacs.d/lisp/yasnippet/snippets/snippet-mode/field new file mode 100644 index 0000000..bdaf0d4 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/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/lisp/yasnippet/snippets/snippet-mode/mirror b/emacs.d/lisp/yasnippet/snippets/snippet-mode/mirror new file mode 100644 index 0000000..1c32eeb --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/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/lisp/yasnippet/snippets/snippet-mode/vars b/emacs.d/lisp/yasnippet/snippets/snippet-mode/vars new file mode 100644 index 0000000..0e8a0a5 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/snippet-mode/vars @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name : Snippet header +# contributor : joaotavora +# -- +# name : $1${2: +# key : ${3:trigger-key}}${4: +# keybinding : ${5:keybinding}}${6: +# expand-env : (${7:})} +# contributor : $6 +# -- +$0
\ No newline at end of file |