From f7e1128a71c862ab3b5eb6bc0ad5996c1df44fa6 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Thu, 22 Jun 2023 17:40:44 +0200 Subject: jue 22 jun 2023 17:40:44 CEST --- stow/vim/.vim/ftplugin/tex/tex.vim | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'stow/vim/.vim/ftplugin/tex/tex.vim') diff --git a/stow/vim/.vim/ftplugin/tex/tex.vim b/stow/vim/.vim/ftplugin/tex/tex.vim index 0893e40..3558c39 100644 --- a/stow/vim/.vim/ftplugin/tex/tex.vim +++ b/stow/vim/.vim/ftplugin/tex/tex.vim @@ -21,8 +21,7 @@ nnoremap gd :lua vim.lsp.buf.definition() nnoremap c :w:!toPDF.sh % nnoremap o :w:!toPDF.sh -o % nnoremap O :w:!toPDF.sh -o % -nnoremap m :w:!make -nnoremap M :w:!make +nnoremap m :w:Make nnoremap temp :-1r ~/.vim/ftplugin/tex/snips/template.txt/<+++>cf> @@ -43,8 +42,8 @@ inoremap li \textit{}<++>F}i inoremap lemph \emph{}<++>F}i inoremap llabel \label{}<++>F}i inoremap lref ~\ref{}<++>F}i -inoremap lenumerate \begin{enumerate}o\end{enumerate}kkI\itemI<++>k<$a -inoremap litemize \begin{itemize}o\end{itemize}kkI\itemI<++>k<$a -inoremap litem \item<++>k$a +inoremap lenumerate \begin{enumerate}o\end{enumerate}kkI\itemI<++>kA +inoremap litemize \begin{itemize}o\end{itemize}kkI\itemI<++>kA +inoremap litem \item<++>kA inoremap limage \begin{figure}[h]\begin{center}\includegraphics[width=\textwidth]{}\caption{<++>}\end{center}\end{figure}<++>4k$i inoremap ltable \begin{table}[h]\makebox[\linewidth]{\begin{tabular}{ccxxx}\toprule<++>&<++>\\\midrule<++>&<++>\\\bottomrule\end{tabular}}\end{table}<++>?xxxcw -- cgit v1.2.1