diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/bujo.vim | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim index cdc5d53..a002024 100644 --- a/plugin/bujo.vim +++ b/plugin/bujo.vim | |||
@@ -82,6 +82,3 @@ endif | |||
82 | 82 | ||
83 | " Update date upon enter. | 83 | " Update date upon enter. |
84 | autocmd bufnewfile todo.md call append(0, '#' . split(expand('%:p:h:t'), '\v\n')[0] . " todo") | 84 | autocmd bufnewfile todo.md call append(0, '#' . split(expand('%:p:h:t'), '\v\n')[0] . " todo") |
85 | autocmd bufnewfile todo.md call append(1, 'Date: ') | ||
86 | autocmd bufnewfile,bufread,filewritepre todo.md exe "g/Date: */s/Date: *.*/Date: " .strftime("%a %d %b %Y") | ||
87 | autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal Go" | ||