From ee435db82f07e63dee5a02526cefddaa248c3b8c Mon Sep 17 00:00:00 2001 From: Jersey Date: Thu, 25 Jun 2020 10:37:14 -0500 Subject: attempt to update date --- plugin/bujo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/bujo.vim b/plugin/bujo.vim index d5203e9..62b8144 100644 --- a/plugin/bujo.vim +++ b/plugin/bujo.vim @@ -5,7 +5,7 @@ if empty(glob(g:bujo#todo_file_path)) endif autocmd bufnewfile todo.md call append(0, '#Todo') autocmd bufnewfile todo.md call append(1, 'Date: ') -autocmd bufnewfile,bufreadpre todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a %d %b %Y") +autocmd bufnewfile,bufreadpre,filewritepre todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a %d %b %Y") autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal Go" -- cgit v1.2.3