From 224c14ecb5eadc3b91eca9422f4fbc7725ae9027 Mon Sep 17 00:00:00 2001 From: tdro Date: Wed, 24 Mar 2021 03:16:48 -0400 Subject: .vimrc: Format general auto commands --- .vimrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.vimrc b/.vimrc index 2defd44..5c3543b 100644 --- a/.vimrc +++ b/.vimrc @@ -323,12 +323,12 @@ augroup AutoCommands autocmd FileType awk noremap cc :term ++rows=10 ++close awk -f % " General auto commands. - autocmd BufWritePost *.tex :term ++close ++rows=10 latex-compile % - autocmd BufWritePost rc.lua silent exe '!' . expand(g:notify) . ' ' . '"$(awesome -k 2>&1)"' - autocmd BufWritePost quotes,*.fortune silent exe '!' . expand(g:notify) . ' ' . '"$(strfile %)"' + autocmd BufWritePost *.tex :term ++close ++rows=10 latex-compile % + autocmd BufWritePost quotes,*.fortune silent exe '!' . expand(g:notify) . ' ' . '"$(strfile %)"' autocmd BufWritePost $HOME/.config/chromexup/config.ini silent exe '!' . expand(g:notify) . ' ' . '"$(chromexup 2>&1)"' - autocmd BufWritePost *.desktop silent exe '!' . expand(g:notify) . ' ' . '"$(desktop-file-validate % 2>&1 && echo ''OK: %'')"' - autocmd BufWritePost Xresources silent exe '!' . 'xrdb ~/.config/X11/Xresources &&' . ' ' . expand(g:notify) . ' ' . '''Reloading Xresources...''' + autocmd BufWritePost rc.lua silent exe '!' . expand(g:notify) . ' ' . '"$(awesome -k 2>&1)"' + autocmd BufWritePost *.desktop silent exe '!' . expand(g:notify) . ' ' . '"$(desktop-file-validate % 2>&1 && echo ''OK: %'')"' + autocmd BufWritePost Xresources silent exe '!' . 'xrdb ~/.config/X11/Xresources &&' . ' ' . expand(g:notify) . ' ' . '''Reloading Xresources...''' " Automatically remove trailing white space on save. autocmd InsertLeave,BufWritePre * %s/\s\+$//e -- cgit v1.2.3