From bef9d736732fe9d83e42d591581bfb0c7540cd50 Mon Sep 17 00:00:00 2001 From: Jersey Date: Wed, 24 Jun 2020 16:57:45 -0500 Subject: another attempt --- 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 212344e..77587f4 100644 --- a/plugin/bujo.vim +++ b/plugin/bujo.vim @@ -3,7 +3,7 @@ if empty(glob('~/bujo')) call mkdir($HOME . '/bujo', 'p') endif -autocmd bufnewfile todo.md so 0r $HOME/.vim/templates/%:e.skeleton +autocmd bufnewfile todo.md call append(0, 'Date') autocmd bufnewfile todo.md exe "1," . 10 . "g/Date.*/s//" .strftime("%a d %b %Y") autocmd Bufwritepre,filewritepre todo.md execute "normal ma" -- cgit v1.2.3