summaryrefslogtreecommitdiffstats
path: root/.emacs.d/etc/yasnippet/snippets/latex-mode/item
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.emacs.d/etc/yasnippet/snippets/latex-mode/item5
-rw-r--r--.emacs.d/etc/yasnippet/snippets/latex-mode/item-li6
-rw-r--r--.emacs.d/etc/yasnippet/snippets/latex-mode/itemize7
3 files changed, 18 insertions, 0 deletions
diff --git a/.emacs.d/etc/yasnippet/snippets/latex-mode/item b/.emacs.d/etc/yasnippet/snippets/latex-mode/item
new file mode 100644
index 0000000..d4773f5
--- /dev/null
+++ b/.emacs.d/etc/yasnippet/snippets/latex-mode/item
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: item
+# key: -
+# --
+\item $0 \ No newline at end of file
diff --git a/.emacs.d/etc/yasnippet/snippets/latex-mode/item-li b/.emacs.d/etc/yasnippet/snippets/latex-mode/item-li
new file mode 100644
index 0000000..1bc93b5
--- /dev/null
+++ b/.emacs.d/etc/yasnippet/snippets/latex-mode/item-li
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: item-li
+# key: li
+# type: command
+# --
+(yas-expand-snippet (yas-lookup-snippet "item")) \ No newline at end of file
diff --git a/.emacs.d/etc/yasnippet/snippets/latex-mode/itemize b/.emacs.d/etc/yasnippet/snippets/latex-mode/itemize
new file mode 100644
index 0000000..eb97984
--- /dev/null
+++ b/.emacs.d/etc/yasnippet/snippets/latex-mode/itemize
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: itemize
+# key: ul
+# --
+\begin{itemize}
+$0
+\end{itemize} \ No newline at end of file