aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2022-02-17 21:19:15 -0500
committertdro <tdro@users.noreply.github.com>2022-02-17 21:19:15 -0500
commit8ceb954781e287cef8b086ccdcb7eefeb533af22 (patch)
treea99ffa7ddec0650d0ea28fdc6c4e192589423bb6 /.vimrc
parent996f0e89d12988f50c839d63228b73bb05d4d41d (diff)
downloaddotfiles-8ceb954781e287cef8b086ccdcb7eefeb533af22.tar.gz
dotfiles-8ceb954781e287cef8b086ccdcb7eefeb533af22.tar.bz2
dotfiles-8ceb954781e287cef8b086ccdcb7eefeb533af22.zip
.vimrc: Add systemd-analyze verify autocmd
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 7e16f0c..6ed651d 100644
--- a/.vimrc
+++ b/.vimrc
@@ -305,6 +305,7 @@ augroup AutoCommands
autocmd BufWritePost *.lit exe 'Notify(''lit ' . expand('%') . ' 2>&1 && printf "Literate OK: ' . expand('%') . '"'')'
autocmd BufWritePost Xresources exe 'Notify(''xrdb ~/.config/X11/Xresources ' . '2>&1 && printf "Reloading Xresources: ' . expand('%') . '"'')'
autocmd BufWritePost *.desktop exe 'Notify(''desktop-file-validate ' . expand('%') . ' 2>&1 && printf "Deskop File OK: ' . expand('%') . '"'')'
+ autocmd BufWritePost *.service exe 'Notify(''systemd-analyze verify --user ' . expand('%') . ' 2>&1 && printf "Systemd Service File OK: ' . expand('%') . '"'')'
autocmd BufWritePost *.txt,*.md :only | :term ++rows=10 vale %
" File type function under cursor lookups.