summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorJersey <fonseca@uchicago.edu>2020-06-24 22:21:33 +0000
committerJersey <fonseca@uchicago.edu>2020-06-24 22:21:33 +0000
commite77995bd757345b9b0f9d83c4ae04072b1855786 (patch)
treef11856c6fc9094d7e0590096c5995b5fa9124af6 /plugin
parentcd73720804195e44b65a4bb85ce6821d2ddceff8 (diff)
new try 1
Diffstat (limited to 'plugin')
-rw-r--r--plugin/bujo.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim
index 1897073..cca68bb 100644
--- a/plugin/bujo.vim
+++ b/plugin/bujo.vim
@@ -2,8 +2,8 @@
2if empty(glob('~/bujo')) 2if empty(glob('~/bujo'))
3 call mkdir($HOME . '/bujo', 'p') 3 call mkdir($HOME . '/bujo', 'p')
4endif 4endif
5autocmd bufnewfile todo.md call append(0, ' __________ ____ ____\n /_ __/ __ \/ __ \/ __ \\n') 5autocmd bufnewfile todo.md call append(0, ' __________ ____ ____\n/_ __/ __ \/ __ \/ __ \\n / / / / / / / / / / / /\n / / / /_/ / /_/ / /_/ /\n /_/ \____/_____/\____/')
6autocmd bufnewfile todo.md call append(1, 'Date: ') 6autocmd bufnewfile todo.md call append(7, 'Date: ')
7autocmd bufnewfile,bufreadpre todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a %d %b %Y") 7autocmd bufnewfile,bufreadpre todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a %d %b %Y")
8autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal G" 8autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal G"
9 9