diff options
author | tdro <tdro@users.noreply.github.com> | 2021-03-24 03:16:48 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2021-03-24 03:16:48 -0400 |
commit | 224c14ecb5eadc3b91eca9422f4fbc7725ae9027 (patch) | |
tree | 1499037652aca90dd652fa7404507f2042af2d59 | |
parent | e5172dd41210965327252a2447621dfd9dd905ed (diff) | |
download | dotfiles-224c14ecb5eadc3b91eca9422f4fbc7725ae9027.tar.gz dotfiles-224c14ecb5eadc3b91eca9422f4fbc7725ae9027.tar.bz2 dotfiles-224c14ecb5eadc3b91eca9422f4fbc7725ae9027.zip |
.vimrc: Format general auto commands
-rw-r--r-- | .vimrc | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |