From e77995bd757345b9b0f9d83c4ae04072b1855786 Mon Sep 17 00:00:00 2001 From: Jersey Date: Wed, 24 Jun 2020 17:21:33 -0500 Subject: new try 1 --- plugin/bujo.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/bujo.vim b/plugin/bujo.vim index 1897073..cca68bb 100644 --- a/plugin/bujo.vim +++ b/plugin/bujo.vim @@ -2,8 +2,8 @@ if empty(glob('~/bujo')) call mkdir($HOME . '/bujo', 'p') endif -autocmd bufnewfile todo.md call append(0, ' __________ ____ ____\n /_ __/ __ \/ __ \/ __ \\n') -autocmd bufnewfile todo.md call append(1, 'Date: ') +autocmd bufnewfile todo.md call append(0, ' __________ ____ ____\n/_ __/ __ \/ __ \/ __ \\n / / / / / / / / / / / /\n / / / /_/ / /_/ / /_/ /\n /_/ \____/_____/\____/') +autocmd bufnewfile todo.md call append(7, 'Date: ') autocmd bufnewfile,bufreadpre todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a %d %b %Y") autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal G" -- cgit v1.2.3