aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-08-03 23:21:38 -0400
committertdro <tdro@users.noreply.github.com>2020-08-03 23:21:38 -0400
commita6c97b22131a16ce6a903f895eae57a1796bf96b (patch)
treeec6d0385a0cd644852ba54d5c4f3f0c0b98b0435 /.vimrc
parenta3423392e39e9e44d65ce205ed72bdeed8f657ce (diff)
downloaddotfiles-a6c97b22131a16ce6a903f895eae57a1796bf96b.tar.gz
dotfiles-a6c97b22131a16ce6a903f895eae57a1796bf96b.tar.bz2
dotfiles-a6c97b22131a16ce6a903f895eae57a1796bf96b.zip
.vimrc: Same command for quotes & fortune files
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/.vimrc b/.vimrc
index bc2c63a..5ecf7cc 100644
--- a/.vimrc
+++ b/.vimrc
@@ -301,9 +301,8 @@ augroup AutoCommands
autocmd FileType javascript noremap <buffer> <leader>cc :Repl node<cr>
" General auto commands.
- autocmd BufWritePost quotes silent !notify-send "$(strfile %)"
- autocmd BufWritePost *.fortune silent !notify-send "$(strfile %)"
autocmd BufWritePost rc.lua silent !notify-send "$(awesome -k 2>&1)"
+ autocmd BufWritePost quotes,*.fortune silent !notify-send "$(strfile %)"
autocmd BufWritePost *.desktop silent !notify-send "$(desktop-file-validate %)"
autocmd BufWritePost Xresources silent !xrdb ~/.config/X11/Xresources && notify-send 'Reloading Xresources...'