Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-08-27 22:35:12 +02:00
parent 6e1a773ae8
commit affdee7408

View File

@ -112,4 +112,4 @@ autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR>
autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
" Auto add notes git
autocmd BufWritePost notes.md,openair.md execute '!git add % && git commit -m "Auto-commit: saved %" && git push' | redraw!
autocmd BufWritePost *.md execute '!git add % && git commit -m "Auto-commit: saved %" && git push' | redraw!