diff options
author | typebrook <typebrook@gmail.com> | 2019-12-25 18:39:24 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-12-25 18:39:24 +0800 |
commit | 39f6ee88cc25c09eada0e7f752b731c60eca6885 (patch) | |
tree | d09145ea1b86a2e8ddeb9ed3b2c5c9b7c00ab6c4 /vimrc | |
parent | e4874a61f416e53e90f34a135c342745f0f3ef47 (diff) |
update
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ let g:vimwiki_list = [{'path': '~/vimwiki/', 'syntax': 'markdown', 'ext': '.md'} | |||
103 | " Git push quietly whenever leaving vim with VimWiki files | 103 | " Git push quietly whenever leaving vim with VimWiki files |
104 | augroup vimwikiPush | 104 | augroup vimwikiPush |
105 | autocmd! | 105 | autocmd! |
106 | autocmd VimLeave ~/vimwiki/* :!(~/vimwiki/scripts/upload.sh > /dev/null 2>&1 &) | 106 | autocmd VimLeave ~/vimwiki/* :!(cd ~/vimwiki && git add * && git commit -am update && git push origin > /dev/null 2>&1 &) |
107 | augroup END | 107 | augroup END |
108 | 108 | ||
109 | " Configuration fro vim-instant-markdown | 109 | " Configuration fro vim-instant-markdown |