aboutsummaryrefslogtreecommitdiff
path: root/vim/.vim/after/ftplugin/tex.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vim/after/ftplugin/tex.vim')
-rw-r--r--vim/.vim/after/ftplugin/tex.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/.vim/after/ftplugin/tex.vim b/vim/.vim/after/ftplugin/tex.vim
new file mode 100644
index 0000000..95e50d4
--- /dev/null
+++ b/vim/.vim/after/ftplugin/tex.vim
@@ -0,0 +1,2 @@
+set spell
+au BufWritePost * silent! execute "!pdflatex %" | redraw!