From 2b3c93ec75a0c69ba421bd11260cd46cac70b536 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Tue, 27 Aug 2019 00:46:57 -0400 Subject: emacs: yasnippet: add some convenience snippets for latex-mode --- .emacs.d/etc/yasnippet/snippets/latex-mode/section | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .emacs.d/etc/yasnippet/snippets/latex-mode/section (limited to '.emacs.d/etc/yasnippet/snippets/latex-mode/section') diff --git a/.emacs.d/etc/yasnippet/snippets/latex-mode/section b/.emacs.d/etc/yasnippet/snippets/latex-mode/section new file mode 100644 index 0000000..88faeab --- /dev/null +++ b/.emacs.d/etc/yasnippet/snippets/latex-mode/section @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: section +# key: sec +# -- +\section{${1:name}} +\label{sec:${2:label}} + +$0 \ No newline at end of file -- cgit v1.2.3-60-g2f50