summaryrefslogtreecommitdiffstats
path: root/.emacs.d/etc/yasnippet/snippets/latex-mode/enumerate
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-09-03 12:07:06 -0400
committerAmin Bandali <bandali@gnu.org>2019-09-03 12:07:06 -0400
commit3457307b74d15e7ced6ff00e1ae91166d2537cdb (patch)
tree43bbb806406253c55882d7853d9955726679c5fa /.emacs.d/etc/yasnippet/snippets/latex-mode/enumerate
parent9cfb34225b76c7b9eaa92199a17141d54d76b75b (diff)
downloadconfigs-3457307b74d15e7ced6ff00e1ae91166d2537cdb.tar.gz
configs-3457307b74d15e7ced6ff00e1ae91166d2537cdb.tar.xz
configs-3457307b74d15e7ced6ff00e1ae91166d2537cdb.zip
emacs: improve tex-mode list workflows
type ā€˜oā€™ followed by space for enumerate (ordered list), and ā€˜uā€™ folloewd by space for itemize (unordered list); insert new \item with M-RET
Diffstat (limited to '')
-rw-r--r--.emacs.d/etc/yasnippet/snippets/latex-mode/enumerate4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/etc/yasnippet/snippets/latex-mode/enumerate b/.emacs.d/etc/yasnippet/snippets/latex-mode/enumerate
index df51892..bcb1df1 100644
--- a/.emacs.d/etc/yasnippet/snippets/latex-mode/enumerate
+++ b/.emacs.d/etc/yasnippet/snippets/latex-mode/enumerate
@@ -1,7 +1,7 @@
# -*- mode: snippet -*-
# name: enumerate
-# key: ol
+# key: o
# --
\begin{enumerate}
-$0
+\item $0
\end{enumerate} \ No newline at end of file