From 92f9b6437d3059cea0648a1a38e27fb01b80374c Mon Sep 17 00:00:00 2001 From: Jersey Date: Wed, 24 Jun 2020 17:00:07 -0500 Subject: another attempt 2 --- plugin/bujo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/bujo.vim b/plugin/bujo.vim index 77587f4..f2bbdcb 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 "1," . 10 . "g/Date.*/s//" .strftime("%a d %b %Y") +autocmd bufnewfile todo.md exe "g/Date: */s/Date: /" .strftime("%a d %b %Y") autocmd Bufwritepre,filewritepre todo.md execute "normal ma" -- cgit v1.2.3