diff options
author | Jersey <fonseca@uchicago.edu> | 2020-06-24 22:00:07 +0000 |
---|---|---|
committer | Jersey <fonseca@uchicago.edu> | 2020-06-24 22:00:07 +0000 |
commit | 92f9b6437d3059cea0648a1a38e27fb01b80374c (patch) | |
tree | 8e972fb752c2c7030d754d06efc43e42e2cf2fb8 | |
parent | bef9d736732fe9d83e42d591581bfb0c7540cd50 (diff) |
another attempt 2
-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 77587f4..f2bbdcb 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 "1," . 10 . "g/Date.*/s//" .strftime("%a d %b %Y") | 7 | autocmd bufnewfile todo.md exe "g/Date: */s/Date: /" .strftime("%a d %b %Y") |
8 | autocmd Bufwritepre,filewritepre todo.md execute "normal ma" | 8 | autocmd Bufwritepre,filewritepre todo.md execute "normal ma" |
9 | 9 | ||
10 | 10 | ||