From 6e1a773ae86f61deddd5d7a5e986d4f056d04bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Thu, 27 Aug 2020 22:33:41 +0200 Subject: [PATCH] Updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .vimrc-gentoo | 3 +++ 1 file changed, 3 insertions(+) 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!