This commit is contained in:
madmaurice 2016-12-20 10:21:53 +01:00
parent 1144673bb7
commit decbd7ef0d
3 changed files with 23 additions and 0 deletions

View file

@ -101,6 +101,8 @@ snippet subp
\label{subp:${2:$1}} \label{subp:${2:$1}}
${3} ${3}
% subparagraph $2 (end) % subparagraph $2 (end)
snippet it
\item ${1:item}
snippet itd snippet itd
\item[${1:description}] ${2:item} \item[${1:description}] ${2:item}
snippet figure snippet figure
@ -113,3 +115,8 @@ snippet section
${1:Section}~\ref{${2:sec:}}${3} ${1:Section}~\ref{${2:sec:}}${3}
snippet page snippet page
${1:page}~\pageref{${2}}${3} ${1:page}~\pageref{${2}}${3}
snippet title
\title{${1}}
\author{${2}}
\date{${3:\today}}

12
vim/.vim/templates/tex Normal file
View file

@ -0,0 +1,12 @@
\document[a4paper,12pt]{}
% Packages
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{fancyhdr}
\usepackage{lipsum}
\begin{document}
\end{document}

View file

@ -93,6 +93,10 @@ set noshowmode
set listchars=eol:↲,tab:▶▹,nbsp:␣,extends:…,trail:• set listchars=eol:↲,tab:▶▹,nbsp:␣,extends:…,trail:•
" }}} " }}}
" --- Latex {{{
au BufRead,BufNewFile *.tex set ft=tex
" }}}
" --- Abbreviations {{{ " --- Abbreviations {{{
iab _date <C-R>=strftime("%A, %d. %B %Y %H:%M")<CR> iab _date <C-R>=strftime("%A, %d. %B %Y %H:%M")<CR>
iab _zmail madmaurice@zom.bi iab _zmail madmaurice@zom.bi