common/home/vim/after/ftplugin/tex.vim

11 lines
349 B
VimL
Raw Permalink Normal View History

2021-01-02 23:30:57 -08:00
if has("gui_macvim")
amenu TouchBar.Build :!latexmk % -pdf
amenu TouchBar.\\begin bI\begin{$a}yypwcwendko
amenu TouchBar.tikz O\begin{center} \begin{tikzpicture} \end{tikzpicture} \end{center}
amenu TouchBar.enum O\begin{enumerate} \item \end{enumerate}
else
noremap <F2> :!latexmk % -pdf
noremap <F3> bI\begin{$a}yypwcwendko
endif