summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJersey <fonseca@uchicago.edu>2020-06-24 22:00:07 +0000
committerJersey <fonseca@uchicago.edu>2020-06-24 22:00:07 +0000
commit92f9b6437d3059cea0648a1a38e27fb01b80374c (patch)
tree8e972fb752c2c7030d754d06efc43e42e2cf2fb8
parentbef9d736732fe9d83e42d591581bfb0c7540cd50 (diff)
another attempt 2
-rw-r--r--plugin/bujo.vim2
1 files changed, 1 insertions, 1 deletions
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'))
4endif 4endif
5 5
6autocmd bufnewfile todo.md call append(0, 'Date') 6autocmd bufnewfile todo.md call append(0, 'Date')
7autocmd bufnewfile todo.md exe "1," . 10 . "g/Date.*/s//" .strftime("%a d %b %Y") 7autocmd bufnewfile todo.md exe "g/Date: */s/Date: /" .strftime("%a d %b %Y")
8autocmd Bufwritepre,filewritepre todo.md execute "normal ma" 8autocmd Bufwritepre,filewritepre todo.md execute "normal ma"
9 9
10 10