diff options
Diffstat (limited to 'plugin')
-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 | ||