summaryrefslogtreecommitdiff
path: root/plugin/bujo.vim
diff options
context:
space:
mode:
authorJersey <fonseca@uchicago.edu>2020-06-24 22:01:32 +0000
committerJersey <fonseca@uchicago.edu>2020-06-24 22:01:32 +0000
commit7f9e20de2b1d12667b158088293699245989c89f (patch)
tree3849cb6c57cca4be5a5cc3df90b09632bfb3615a /plugin/bujo.vim
parent92f9b6437d3059cea0648a1a38e27fb01b80374c (diff)
another attempt 3
Diffstat (limited to 'plugin/bujo.vim')
-rw-r--r--plugin/bujo.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim
index f2bbdcb..0556837 100644
--- a/plugin/bujo.vim
+++ b/plugin/bujo.vim
@@ -3,7 +3,7 @@ if empty(glob('~/bujo'))
3 call mkdir($HOME . '/bujo', 'p') 3 call mkdir($HOME . '/bujo', 'p')
4endif 4endif
5 5
6autocmd bufnewfile todo.md call append(0, 'Date') 6autocmd bufnewfile todo.md call append(0, 'Date: ')
7autocmd bufnewfile todo.md exe "g/Date: */s/Date: /" .strftime("%a d %b %Y") 7autocmd bufnewfile todo.md exe "g/Date: */s/Date: /" .strftime("%a d %b %Y")
8autocmd Bufwritepre,filewritepre todo.md execute "normal ma" 8autocmd Bufwritepre,filewritepre todo.md execute "normal ma"
9 9