Compare commits

..

No commits in common. "f8383f13a33d290297ef558785cd7817ea94f2c1" and "76f02447fcd8d2169e6c826bbddb7759a50dc4e7" have entirely different histories.

View File

@ -254,11 +254,6 @@ autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo
autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR>
autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
" markdown-notes
autocmd BufWritePost notes-all.md silent! :!git add notes-all.md
autocmd BufWritePost notes-all.md silent! :!git commit --author='Marcin Woźniak <y0rune@aol.com>' -m "Autosaving - $(echo -e $(date))"
autocmd BufWritePost notes-all.md silent! execute "!git push" | execute ':redraw!'
" Automatically deletes all trailing whitespace and newlines at end of file on save.
autocmd BufWritePre * %s/\s\+$//e
autocmd BufWritepre * %s/\n\+\%$//e