aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-08-08 17:51:39 -0400
committertdro <tdro@users.noreply.github.com>2020-08-08 17:51:39 -0400
commitc88965215c9138ad7669649374c0374fda112c53 (patch)
treeeca75eefb3b126bb4ff7ff5feeec590248ab1286 /.vimrc
parentc2b395671265124d1eeb15caebf1c6c54c439a66 (diff)
downloaddotfiles-c88965215c9138ad7669649374c0374fda112c53.tar.gz
dotfiles-c88965215c9138ad7669649374c0374fda112c53.tar.bz2
dotfiles-c88965215c9138ad7669649374c0374fda112c53.zip
.vimrc: Move tex compile to general
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 5cad113..9498f86 100644
--- a/.vimrc
+++ b/.vimrc
@@ -289,7 +289,6 @@ 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()
@@ -305,6 +304,7 @@ augroup AutoCommands
autocmd FileType javascript noremap <buffer> <leader>cc :REPL node<cr>
" General auto commands.
+ autocmd BufWritePost *.tex :term ++close ++rows=10 latex-compile %
autocmd BufWritePost rc.lua silent !notify-send "$(awesome -k 2>&1)"
autocmd BufWritePost quotes,*.fortune silent !notify-send "$(strfile %)"
autocmd BufWritePost *.desktop silent !notify-send "$(desktop-file-validate % 2>&1 && echo 'OK: %')"