From e224fc0412edfd34f77cbe1500ce893687a08c27 Mon Sep 17 00:00:00 2001 From: Jersey Date: Wed, 24 Jun 2020 17:07:30 -0500 Subject: another attempt 6 --- plugin/bujo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/bujo.vim b/plugin/bujo.vim index 8715d23..fcb9f58 100644 --- a/plugin/bujo.vim +++ b/plugin/bujo.vim @@ -4,7 +4,7 @@ if empty(glob('~/bujo')) endif autocmd bufnewfile todo.md call append(0, 'Date: ') -autocmd bufnewfile todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a d %b %Y") +autocmd bufnewfile,bufreadpre todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a %d %b %Y") autocmd Bufwritepre,filewritepre todo.md execute "normal G" -- cgit v1.2.3