diff options
author | Jersey <fonseca@uchicago.edu> | 2020-06-24 22:01:32 +0000 |
---|---|---|
committer | Jersey <fonseca@uchicago.edu> | 2020-06-24 22:01:32 +0000 |
commit | 7f9e20de2b1d12667b158088293699245989c89f (patch) | |
tree | 3849cb6c57cca4be5a5cc3df90b09632bfb3615a /plugin/bujo.vim | |
parent | 92f9b6437d3059cea0648a1a38e27fb01b80374c (diff) |
another attempt 3
Diffstat (limited to 'plugin/bujo.vim')
-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 f2bbdcb..0556837 100644 --- a/plugin/bujo.vim +++ b/plugin/bujo.vim | |||
@@ -3,7 +3,7 @@ if empty(glob('~/bujo')) | |||
3 | call mkdir($HOME . '/bujo', 'p') | 3 | call mkdir($HOME . '/bujo', 'p') |
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: /" .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 | ||