From 8ceb954781e287cef8b086ccdcb7eefeb533af22 Mon Sep 17 00:00:00 2001 From: tdro Date: Thu, 17 Feb 2022 21:19:15 -0500 Subject: .vimrc: Add systemd-analyze verify autocmd --- .vimrc | 1 + 1 file changed, 1 insertion(+) (limited to '.vimrc') 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. -- cgit v1.2.3