aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2021-03-24 03:16:48 -0400
committertdro <tdro@users.noreply.github.com>2021-03-24 03:16:48 -0400
commit224c14ecb5eadc3b91eca9422f4fbc7725ae9027 (patch)
tree1499037652aca90dd652fa7404507f2042af2d59
parente5172dd41210965327252a2447621dfd9dd905ed (diff)
downloaddotfiles-224c14ecb5eadc3b91eca9422f4fbc7725ae9027.tar.gz
dotfiles-224c14ecb5eadc3b91eca9422f4fbc7725ae9027.tar.bz2
dotfiles-224c14ecb5eadc3b91eca9422f4fbc7725ae9027.zip
.vimrc: Format general auto commands
-rw-r--r--.vimrc10
1 files 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 <buffer> <leader>cc :term ++rows=10 ++close awk -f %<cr>
" 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