diff --git a/.vimrc-gentoo b/.vimrc-gentoo index 26df70d..29aecdb 100644 --- a/.vimrc-gentoo +++ b/.vimrc-gentoo @@ -112,4 +112,4 @@ 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! +autocmd BufWritePost *.md execute '!git add % && git commit -m "Auto-commit: saved %" && git push' | redraw!