diff options
author | typebrook <typebrook@gmail.com> | 2019-05-05 20:39:03 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-05-05 20:39:03 +0800 |
commit | b76290ff24d24901f3cc5e76e2c8304a65e6152d (patch) | |
tree | 7688d0aa7c1d2265e754df033ca0b8b351a470dc /vimrc | |
parent | 6dd9791bdafa930ac69990e9de50d41a2981dc90 (diff) |
update
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ let g:vimwiki_list = [{'path': '~/vimwiki/', 'auto_tags': 1}] | |||
37 | 37 | ||
38 | augroup vimwikiPush | 38 | augroup vimwikiPush |
39 | autocmd! | 39 | autocmd! |
40 | autocmd BufWritePost ~/vimwiki/* :!(sh -c "git commit -am \"update\" && git push origin" > /dev/null 2>&1 &) | 40 | autocmd VimLeave ~/vimwiki/* :!(~/vimwiki/scripts/upload.sh > /dev/null 2>&1 &) |
41 | augroup END | 41 | augroup END |
42 | 42 | ||
43 | " vim_markdown | 43 | " vim_markdown |