shell/vim: copy bib file from mendeley on save

This commit is contained in:
steveej 2017-04-06 17:08:46 +02:00
parent 927c807103
commit 091c720cb8

View file

@ -130,6 +130,8 @@ in pkgs.stdenv.mkDerivation {
endfunction endfunction
let g:vimtex_view_zathura_hook_callback = 'ViewerCallback' let g:vimtex_view_zathura_hook_callback = 'ViewerCallback'
" }}} " }}}
autocmd BufWritePost * execute ':silent ! cp /home/steveej/src/mendeley/Static-Code-Analysis-Kernel-Memory-Saftey.bib /home/steveej/src/steveej/msc-thesis/src/docs/thesis.bib >/dev/null 2>&1'
''; '';
vam.knownPlugins = pkgs.vimPlugins; vam.knownPlugins = pkgs.vimPlugins;