diff options
author | Jersey <fonseca@uchicago.edu> | 2020-06-24 22:07:30 +0000 |
---|---|---|
committer | Jersey <fonseca@uchicago.edu> | 2020-06-24 22:07:30 +0000 |
commit | e224fc0412edfd34f77cbe1500ce893687a08c27 (patch) | |
tree | d494e341b74ddb0db4bc5a25728e358e929ffdc3 | |
parent | be8c354d24e0640429951dde94f8838f9aa45473 (diff) |
another attempt 6
-rw-r--r-- | plugin/bujo.vim | 2 |
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')) | |||
4 | endif | 4 | endif |
5 | 5 | ||
6 | autocmd bufnewfile todo.md call append(0, 'Date: ') | 6 | autocmd bufnewfile todo.md call append(0, 'Date: ') |
7 | autocmd bufnewfile todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a d %b %Y") | 7 | autocmd bufnewfile,bufreadpre todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a %d %b %Y") |
8 | autocmd Bufwritepre,filewritepre todo.md execute "normal G" | 8 | autocmd Bufwritepre,filewritepre todo.md execute "normal G" |
9 | 9 | ||
10 | 10 | ||