Modified the vim markdown template and the

corresponding rules in .vimrc
This commit is contained in:
chawley (chawley-admin)
2020-02-19 15:39:02 -05:00
parent 85b86f4783
commit 13259c68fd
2 changed files with 0 additions and 3 deletions

View File

@@ -1,8 +1,6 @@
:insert
# title
tag:untagged
---
## Summary

1
.vimrc
View File

@@ -255,7 +255,6 @@ autocmd bufWritePost,filewritepost *.py execute "normal `a"
autocmd BufNewFile *.md,*.mkd so $HOME/.vim/templates/md
autocmd BufNewFile *.md,*.mkd %s/title.*/\=''.expand('%:r')/e
autocmd BufNewFile *.md,*.mkd exe "g/created:.*/s//created: " .strftime("%Y-%m-%d %H:%M")
autocmd BufWritePre,filewritepre *.md,*.mkd execute "normal ma"
autocmd BufWritePre,filewritepre *.md,*.mkd exe "g/Updated:.*/s//Updated: " .strftime("%Y-%m-%d %H:%M")
autocmd bufWritePost,filewritepost *.md,*.mkd execute "normal `a"