From 43e95b9f1580acca6c14e166155762cf11b5160b Mon Sep 17 00:00:00 2001 From: Jersey Date: Thu, 25 Jun 2020 11:15:14 -0500 Subject: edit date works --- 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 62b8144..ecca104 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,filewritepre 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