summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJersey <fonseca@uchicago.edu>2020-06-24 22:07:30 +0000
committerJersey <fonseca@uchicago.edu>2020-06-24 22:07:30 +0000
commite224fc0412edfd34f77cbe1500ce893687a08c27 (patch)
treed494e341b74ddb0db4bc5a25728e358e929ffdc3
parentbe8c354d24e0640429951dde94f8838f9aa45473 (diff)
another attempt 6
-rw-r--r--plugin/bujo.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim
index 8715d23..fcb9f58 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 "g/Date: */s/Date: /Date: " .strftime("%a d %b %Y") 7autocmd bufnewfile,bufreadpre todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a %d %b %Y")
8autocmd Bufwritepre,filewritepre todo.md execute "normal G" 8autocmd Bufwritepre,filewritepre todo.md execute "normal G"
9 9
10 10