commit 11b61f6d243a6d39a1bd61c181c80bf57cc649d6
parent 953012a8c92db23203e221a3ef3ec0c211c21f7a
Author: Alex Balgavy <alex@balgavy.eu>
Date: Wed, 22 Jun 2022 11:44:31 +0200
vim: more tex snippets
Diffstat:
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/vim/ultisnips/tex.snippets b/vim/ultisnips/tex.snippets
@@ -142,11 +142,6 @@ snippet ;3 "subsubsection{}" b
$0
endsnippet
-snippet ;4 "subsubsubsection{}" b
-\subsubsubsection{$1}
-$0
-endsnippet
-
snippet mk "Inline math" w
$${1}$`!p
if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']:
@@ -242,6 +237,14 @@ endsnippet
snippet par "Paragraph heading" b
\paragraph{$1}$0
endsnippet
+
+snippet c "Cite" w
+\cite{$1}$0
+endsnippet
+
+snippet tc "Cite (text)" w
+\textcite{$1}$0
+endsnippet
# }}}
# Math {{{