Browse Source

Improvements for tex

coc
Schneider 6 years ago
parent
commit
f6b1174401
  1. 2
      vim/ftplugin/tex.vim
  2. 32
      vim/neosnippets/tex.snip

2
vim/ftplugin/tex.vim

@ -23,3 +23,5 @@ set spell spelllang=de
" set textwidth for automatic line wrap
set tw=80
" Mappings
nmap <localleader>d :VimtexDocPackage<cr> " Open Package Doc

32
vim/neosnippets/tex.snip

@ -23,3 +23,35 @@ options head
\begin{satz}
${0}
\end{satz}
snippet e
options head
\emph{${1}}${2}
snippet b
options head
\textbf{${1}}${2}
snippet proof
abbr proof
options head
\begin{proof}
${0}
\end{proof}
snippet subsection
abbr ss
alias ss
options head
\subsection{${1}}${2}
snippet subsubsection
abbr sss
alias sss
options head
\subsubsection{${1}}${2}
snippet sum
abbr sum
options head
\sum_{${0}}^{${1}}${2}
Loading…
Cancel
Save