mirror of
https://github.com/gryf/.vim.git
synced 2025-12-17 11:30:29 +01:00
Replaced snipmate with UltiSnips, changed default font to DejaVu Mono
This commit is contained in:
29
UltiSnips/tex.snippets
Normal file
29
UltiSnips/tex.snippets
Normal file
@@ -0,0 +1,29 @@
|
||||
snippet li "Item in itemize list"
|
||||
\item ${VISUAL}$0
|
||||
endsnippet
|
||||
|
||||
snippet lst "Code Listing for listings package" !b
|
||||
\begin{lstlisting}
|
||||
${VISUAL}$0
|
||||
\end{lstlisting}
|
||||
endsnippet
|
||||
|
||||
snippet hrefoot "Make hyper ref with footnote"
|
||||
\href{$2}{${VISUAL}${1:name}}\footnote{\url{${2:url}}}.$0
|
||||
endsnippet
|
||||
|
||||
snippet href "Make hyperlink"
|
||||
\href{$2}{${VISUAL}${1:name}}.$0
|
||||
endsnippet
|
||||
|
||||
snippet subsec "Subsection" !b
|
||||
\subsection{${VISUAL}${1:name}}$0
|
||||
endsnippet
|
||||
|
||||
snippet sss "Sub subsection" !b
|
||||
\subsubsection{${VISUAL}${1:name}}$0
|
||||
endsnippet
|
||||
|
||||
snippet tt "Make text monospaced"
|
||||
\texttt{${VISUAL}}$0
|
||||
endsnippet
|
||||
Reference in New Issue
Block a user