@ -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!
|
||||
|
Reference in New Issue
Block a user