diff options
Diffstat (limited to '.vim/UltiSnips/tex.snippets')
-rw-r--r-- | .vim/UltiSnips/tex.snippets | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.vim/UltiSnips/tex.snippets b/.vim/UltiSnips/tex.snippets index 1c29c16..a021cc4 100644 --- a/.vim/UltiSnips/tex.snippets +++ b/.vim/UltiSnips/tex.snippets @@ -10,3 +10,14 @@ snippet frame "frame environment" b \end{frame} endsnippet +snippet lst "lstlisting" b +\begin{lstlisting}[caption={$1},label=lst:$2] +$0 +\end{lstlisting} +endsnippet + +snippet minipage "minipage" b +\begin{minipage}{\textwidth} +$0 +\end{minipage} +endsnippet |