Removed autowrite section

I suspect it created a ton of sync-conflicts in my notes. Auto saving
isn't worth it if that's the result.
This commit is contained in:
2025-05-28 12:31:33 -04:00
parent 6a9ca5c23d
commit 271aa3182b

12
.vimrc
View File

@@ -363,18 +363,6 @@ hi SpellBad cterm=underline ctermbg=none
hi SpellLocal cterm=underline ctermbg=none
hi SpellRare cterm=underline ctermbg=none
" ---------------------------------------------------------------------------------------------------------------------
" ==> Markdown autoread, autowrite
" Autocommands for Markdown files
augroup markdown_settings
" Remove any existing autocommands in this group
autocmd!
" Set autoread and autowriteall for markdown files
autocmd BufReadPost,BufNewFile *.md setlocal autoread autowriteall
" Optional: Trigger checktime more frequently when idle in markdown buffers
autocmd CursorHold,CursorHoldI *.md checktime
augroup END
" ---------------------------------------------------------------------------------------------------------------------
" ==> Templates: markdown documents with frontmatter (.md)