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:
12
.vimrc
12
.vimrc
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user