summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/latex-mode
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/latex-mode')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/latex-mode/.yas-parents1
-rw-r--r--emacs.d/lisp/yasnippet/snippets/latex-mode/begin7
2 files changed, 8 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/latex-mode/.yas-parents b/emacs.d/lisp/yasnippet/snippets/latex-mode/.yas-parents
new file mode 100644
index 0000000..eed5b44
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/latex-mode/.yas-parents
@@ -0,0 +1 @@
+text-mode
diff --git a/emacs.d/lisp/yasnippet/snippets/latex-mode/begin b/emacs.d/lisp/yasnippet/snippets/latex-mode/begin
new file mode 100644
index 0000000..dc42d2f
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/latex-mode/begin
@@ -0,0 +1,7 @@
+#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
+#name : \begin{environment} ... \end{environment}
+# --
+
+\begin{${1:environment}}
+$0
+\end{$1}