dotfiles

My personal configuration files.
Log | Files | Refs

commit c295d8331ff5193cb97b1e3f6b15836654b010cc
parent d5e71cd9ce195d381df6d75cc22af2cbc7b6ca43
Author: Benjamin Chausse <benjamin@chausse.xyz>
Date:   Wed,  7 Oct 2020 23:41:05 -0400

auto reload dwmblocks on vim save

Diffstat:
M.config/nvim/init.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -196,7 +196,7 @@ autocmd InsertLeave,TextChanged *.gd,*.ms,*.mom :w! | :execute 'silent AsyncRun autocmd VimLeave *.rmd,*.rnw,*.tex !texclear % map <leader>x :w! \| AsyncRun todotable <c-r>% TODO FIXME CHANGED XXX IDEA HACK NOTE REVIEW NB BUG QUESTION COMBAK TEMP<CR><CR> " Have dwmblocks automatically recompile and run when you edit this file in -autocmd BufWritePost ~/compilation/dwmblocks/config.h !cd ~/compilation/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & } +autocmd BufWritePost ~/Compilation/dwmblocks/config.h !cd ~/Compilation/dwmblocks/; make && sudo make install && { killall -q dwmblocks;setsid dwmblocks & } " Open corresponding .pdf/.html or preview map <leader>p :! opout <c-r>%<CR><CR> " Open corresponding .pdf/.html or preview