summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorJersey <fonseca@uchicago.edu>2020-06-24 21:57:45 +0000
committerJersey <fonseca@uchicago.edu>2020-06-24 21:57:45 +0000
commitbef9d736732fe9d83e42d591581bfb0c7540cd50 (patch)
treeee75d529bb32a1d71f4215c274b2f7fea5227a76 /plugin
parent7d2bc32723cf8420d7f898f9b9da724469f811dc (diff)
another attempt
Diffstat (limited to 'plugin')
-rw-r--r--plugin/bujo.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim
index 212344e..77587f4 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 so 0r $HOME/.vim/templates/%:e.skeleton 6autocmd bufnewfile todo.md call append(0, 'Date')
7autocmd bufnewfile todo.md exe "1," . 10 . "g/Date.*/s//" .strftime("%a d %b %Y") 7autocmd bufnewfile todo.md exe "1," . 10 . "g/Date.*/s//" .strftime("%a d %b %Y")
8autocmd Bufwritepre,filewritepre todo.md execute "normal ma" 8autocmd Bufwritepre,filewritepre todo.md execute "normal ma"
9 9