From 7d2bc32723cf8420d7f898f9b9da724469f811dc Mon Sep 17 00:00:00 2001 From: Jersey Date: Wed, 24 Jun 2020 16:41:10 -0500 Subject: Testing template --- 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 9250608..212344e 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 <> "how do i insert the text file? +autocmd bufnewfile todo.md so 0r $HOME/.vim/templates/%:e.skeleton 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