From 04c4680c86cf32c44bd723d7340dd31a29b16835 Mon Sep 17 00:00:00 2001
From: Jersey <fonseca@uchicago.edu>
Date: Wed, 24 Jun 2020 16:32:04 -0500
Subject: Trying out

---
 plugin/bujo.vim   | 6 ++++++
 templates/todo.md | 8 +++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/plugin/bujo.vim b/plugin/bujo.vim
index 3764af5..9250608 100644
--- a/plugin/bujo.vim
+++ b/plugin/bujo.vim
@@ -3,6 +3,12 @@ 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 exe "1," . 10 . "g/Date.*/s//" .strftime("%a d %b %Y")
+autocmd Bufwritepre,filewritepre todo.md execute "normal ma"
+
+
+
 " Open the bujo todo list file
 function s:OpenTodo()
   "30 makes it open at width 30
diff --git a/templates/todo.md b/templates/todo.md
index 1c5cf49..56d4760 100644
--- a/templates/todo.md
+++ b/templates/todo.md
@@ -1,9 +1,7 @@
-```
-  __________  ____  ____
+  __________  ____  ____ 
  /_  __/ __ \/ __ \/ __ \
   / / / / / / / / / / / /
  / / / /_/ / /_/ / /_/ / 
-/_/  \____/_____/\____/  
-```
+/_/  \____/_____/\____/
 
--[] 
+Date
-- 
cgit v1.2.3