diff options
author | tdro <tdro@users.noreply.github.com> | 2020-08-08 17:51:39 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-08-08 17:51:39 -0400 |
commit | c88965215c9138ad7669649374c0374fda112c53 (patch) | |
tree | eca75eefb3b126bb4ff7ff5feeec590248ab1286 /.vimrc | |
parent | c2b395671265124d1eeb15caebf1c6c54c439a66 (diff) | |
download | dotfiles-c88965215c9138ad7669649374c0374fda112c53.tar.gz dotfiles-c88965215c9138ad7669649374c0374fda112c53.tar.bz2 dotfiles-c88965215c9138ad7669649374c0374fda112c53.zip |
.vimrc: Move tex compile to general
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: %')" |