summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/bujo.vim3
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.
84autocmd bufnewfile todo.md call append(0, '#' . split(expand('%:p:h:t'), '\v\n')[0] . " todo") 84autocmd bufnewfile todo.md call append(0, '#' . split(expand('%:p:h:t'), '\v\n')[0] . " todo")
85autocmd bufnewfile todo.md call append(1, 'Date: ')
86autocmd bufnewfile,bufread,filewritepre todo.md exe "g/Date: */s/Date: *.*/Date: " .strftime("%a %d %b %Y")
87autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal Go"