1
0
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:
2013-03-23 18:19:23 +01:00
parent e5369406eb
commit 2af24011b1
10 changed files with 368 additions and 5 deletions

29
UltiSnips/tex.snippets Normal file
View 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