diff --git a/.vimrc-gentoo b/.vimrc-gentoo index 5fa6717..26df70d 100644 --- a/.vimrc-gentoo +++ b/.vimrc-gentoo @@ -110,3 +110,6 @@ autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80 autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo | set bg=light autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x! autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q! + +" Auto add notes git +autocmd BufWritePost notes.md,openair.md execute '!git add % && git commit -m "Auto-commit: saved %" && git push' | redraw!