summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJersey <fonseca@uchicago.edu>2020-06-25 15:37:14 +0000
committerJersey <fonseca@uchicago.edu>2020-06-25 15:37:14 +0000
commitee435db82f07e63dee5a02526cefddaa248c3b8c (patch)
tree91deb719c3f5c6531fb0e22b82ce93a5b858065d
parentbbdd051475c88b8b2bbae0bfa4178e84a3bc23de (diff)
attempt to update date
-rw-r--r--plugin/bujo.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim
index d5203e9..62b8144 100644
--- a/plugin/bujo.vim
+++ b/plugin/bujo.vim
@@ -5,7 +5,7 @@ if empty(glob(g:bujo#todo_file_path))
5endif 5endif
6autocmd bufnewfile todo.md call append(0, '#Todo') 6autocmd bufnewfile todo.md call append(0, '#Todo')
7autocmd bufnewfile todo.md call append(1, 'Date: ') 7autocmd bufnewfile todo.md call append(1, 'Date: ')
8autocmd bufnewfile,bufreadpre todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a %d %b %Y") 8autocmd bufnewfile,bufreadpre,filewritepre todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a %d %b %Y")
9autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal Go" 9autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal Go"
10 10
11 11