aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-08-08 17:28:50 -0400
committertdro <tdro@users.noreply.github.com>2020-08-08 17:28:50 -0400
commit4f6f65b05ea7c7a39efec6a8fdc057e739a5da45 (patch)
tree811968a503c165afdba8bcfce5da74590d3f09ae /.vimrc
parent5f54031edef88324754032303fc2cb82cc76823f (diff)
downloaddotfiles-4f6f65b05ea7c7a39efec6a8fdc057e739a5da45.tar.gz
dotfiles-4f6f65b05ea7c7a39efec6a8fdc057e739a5da45.tar.bz2
dotfiles-4f6f65b05ea7c7a39efec6a8fdc057e739a5da45.zip
.vimrc: LaTeX auto compile
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 5c1df4d..353727a 100644
--- a/.vimrc
+++ b/.vimrc
@@ -289,6 +289,7 @@ augroup AutoCommands
autocmd BufWritePost *.php :call PHPFix()
autocmd BufWritePost *.js :call ESLintFix()
autocmd BufWritePost *.yml :call AnsibleCheck()
+ autocmd BufWritePost *.tex :term ++close ++rows=10 latex-compile %
autocmd FileType bash,sh autocmd! BufWritePost <buffer> :call ShellCheck()
autocmd FileType nix autocmd! BufWritePost <buffer> silent call NixCheck()