diff options
-rw-r--r-- | plugin/bujo.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim index 56c326f..1897073 100644 --- a/plugin/bujo.vim +++ b/plugin/bujo.vim | |||
@@ -2,8 +2,8 @@ | |||
2 | if empty(glob('~/bujo')) | 2 | if empty(glob('~/bujo')) |
3 | call mkdir($HOME . '/bujo', 'p') | 3 | call mkdir($HOME . '/bujo', 'p') |
4 | endif | 4 | endif |
5 | 5 | autocmd bufnewfile todo.md call append(0, ' __________ ____ ____\n /_ __/ __ \/ __ \/ __ \\n') | |
6 | autocmd bufnewfile todo.md call append(0, 'Date: ') | 6 | autocmd bufnewfile todo.md call append(1, 'Date: ') |
7 | autocmd bufnewfile,bufreadpre 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 bufnewfile,Bufwritepre,filewritepre todo.md execute "normal G" | 8 | autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal G" |
9 | 9 | ||