summaryrefslogtreecommitdiff
path: root/plugin/bujo.vim
diff options
context:
space:
mode:
authorJersey <fonseca@uchicago.edu>2020-07-01 17:02:37 +0000
committerJersey <fonseca@uchicago.edu>2020-07-01 17:02:37 +0000
commit73d78e3861dff6aa0cd3b6d7703594cbeff37659 (patch)
tree4f415d9d45e71fc429d0eb512518538ac8cdad6f /plugin/bujo.vim
parent8f210abf670a8ad6d9616525c9c13e5d1e4e7f82 (diff)
removed autoformatting
Diffstat (limited to 'plugin/bujo.vim')
-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"