aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2021-06-21 22:59:47 -0400
committertdro <tdro@users.noreply.github.com>2021-06-21 22:59:47 -0400
commit7c905e1bec495f78f396e9fe7a224ae834495c77 (patch)
treec8fad72989507d0d378d1526c5771f8642da4de8 /.vimrc
parent4ac768629a0740299418e7ca2102e025f0b3d853 (diff)
downloaddotfiles-7c905e1bec495f78f396e9fe7a224ae834495c77.tar.gz
dotfiles-7c905e1bec495f78f396e9fe7a224ae834495c77.tar.bz2
dotfiles-7c905e1bec495f78f396e9fe7a224ae834495c77.zip
.vimrc: Add Xresources notification back
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index d3c091b..7c0d349 100644
--- a/.vimrc
+++ b/.vimrc
@@ -346,6 +346,7 @@ augroup AutoCommands
autocmd BufWritePost rc.lua exe 'Notify(''awesome -k 2>&1'')'
autocmd BufWritePost quotes,*.fortune exe 'Notify(''strfile ' . expand('%') . ''')'
autocmd BufWritePost *.desktop exe 'Notify(''desktop-file-validate ' . expand('%') . ' 2>&1 && printf "Deskop File OK: ' . expand('%') . '"'')'
+ autocmd BufWritePost Xresources exe 'Notify(''xrdb ~/.config/X11/Xresources ' . '2>&1 && printf "Reloading Xresources: ' . expand('%') . '"'')'
" Automatically remove trailing white space on save.
autocmd InsertLeave,BufWritePre * %s/\s\+$//e