diff --git a/vim/ftplugin/tex.vim b/vim/ftplugin/tex.vim index 63a643a..e85ba32 100644 --- a/vim/ftplugin/tex.vim +++ b/vim/ftplugin/tex.vim @@ -23,3 +23,5 @@ set spell spelllang=de " set textwidth for automatic line wrap set tw=80 +" Mappings +nmap d :VimtexDocPackage " Open Package Doc diff --git a/vim/neosnippets/tex.snip b/vim/neosnippets/tex.snip index ff5f957..7f056de 100644 --- a/vim/neosnippets/tex.snip +++ b/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} \ No newline at end of file