diff options
Diffstat (limited to 'vim/after/ftplugin/tex')
-rw-r--r-- | vim/after/ftplugin/tex/unilatex.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/after/ftplugin/tex/unilatex.vim b/vim/after/ftplugin/tex/unilatex.vim index 505fb3d..69358fc 100644 --- a/vim/after/ftplugin/tex/unilatex.vim +++ b/vim/after/ftplugin/tex/unilatex.vim @@ -668,3 +668,8 @@ nnoremap <buffer> <LocalLeader>cu :call LaTeXtoUTF8()<CR> command! Convert2Latex :call UTF8toLaTeX() command! Convert2UTF8 :call LaTeXtoUTF8() +" augroup LaTeX +" au! +" autocmd BufWritePre *.tex :Convert2Latex +" autocmd BufWritePost *.tex :Convert2UTF8 +" augroup END |