inoremap (( \left( inoremap )) \right) inoremap {{ \left\{ inoremap }} \right\} inoremap [[ \left[ inoremap ]] \right] inoremap == \,=\, inoremap >> \,\geq\, inoremap << \,\leq\, inoremap ++ \,+\, inoremap -- \,-\, iabbrev ga \alpha iabbrev gb \beta iabbrev gg \gamma iabbrev gd \delta iabbrev ge \varepsilon iabbrev gz \zeta iabbrev gh \eta iabbrev gt \theta iabbrev gi \iota iabbrev gk \kappa iabbrev gl \lambda iabbrev gm \mu iabbrev gn \nu iabbrev gx \xi iabbrev gr \rho iabbrev gs \sigma iabbrev gf \phi iabbrev gp \pi iabbrev gw \omega iabbrev dd \d function! SynctexShow() let synctex = glob("*.synctex.gz") if strlen(synctex) == 0 echom "no synctex file found" else let pdffile = substitute(synctex,"synctex.gz","pdf","") let execline = printf(":!zathura --synctex-forward %d:%d:%s %s", line('.'), col('.'), shellescape(bufname("%")), shellescape(pdffile)) exec execline end endfunction nnoremap a :call SynctexShow() nnoremap i :Latexmk nnoremap e :LatexErrors nnoremap o :LatexView noremap k :LatexmkStop:LatexmkClean nnoremap h :split header.sty