From 989af2f68544195d99c4d690fdfa89c00e2ab3c2 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Wed, 6 May 2020 00:38:40 -0700 Subject: [PATCH] Add snippets to repo --- nvim/.config/nvim/UltiSnips/tex.snippets | 49 ++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 nvim/.config/nvim/UltiSnips/tex.snippets diff --git a/nvim/.config/nvim/UltiSnips/tex.snippets b/nvim/.config/nvim/UltiSnips/tex.snippets new file mode 100644 index 0000000..2c113b8 --- /dev/null +++ b/nvim/.config/nvim/UltiSnips/tex.snippets @@ -0,0 +1,49 @@ +snippet eq +\begin{equation*} + $1 +\end{equation*} +endsnippet + +snippet al +\begin{aligned} + $1 +\end{aligned} +endsnippet + +snippet fr +\frac{$1}{$2} +endsnippet + +snippet sec +\section*{$1} +endsnippet + +snippet ssec +\subsection*{$1} +endsnippet + +snippet alist +\begin{enumerate}[label=\alph*)] + $1 +\end{enumerate} +endsnippet + +snippet li +\item +endsnippet + +snippet sum +\sum_{$1}^{$2} $3 +endsnippet + +snippet rel +\text{Rel}($1) +endsnippet + +snippet a +\alpha +endsnippet + +snippet e +\epsilon +endsnippet