diff options
author | Jersey <fonseca@uchicago.edu> | 2020-06-24 22:23:01 +0000 |
---|---|---|
committer | Jersey <fonseca@uchicago.edu> | 2020-06-24 22:23:01 +0000 |
commit | 21aa95b9b5fac486534976563caf3405ecc16482 (patch) | |
tree | 2258beb4cedceb3a11c25bc60d4bf57f67762281 | |
parent | e77995bd757345b9b0f9d83c4ae04072b1855786 (diff) |
new try 1
-rw-r--r-- | plugin/bujo.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim index cca68bb..bc13304 100644 --- a/plugin/bujo.vim +++ b/plugin/bujo.vim | |||
@@ -2,8 +2,8 @@ | |||
2 | if empty(glob('~/bujo')) | 2 | if empty(glob('~/bujo')) |
3 | call mkdir($HOME . '/bujo', 'p') | 3 | call mkdir($HOME . '/bujo', 'p') |
4 | endif | 4 | endif |
5 | autocmd bufnewfile todo.md call append(0, ' __________ ____ ____\n/_ __/ __ \/ __ \/ __ \\n / / / / / / / / / / / /\n / / / /_/ / /_/ / /_/ /\n /_/ \____/_____/\____/') | 5 | autocmd bufnewfile todo.md call append(0, '#Todo') |
6 | autocmd bufnewfile todo.md call append(7, 'Date: ') | 6 | autocmd bufnewfile todo.md call append(1, 'Date: ') |
7 | autocmd bufnewfile,bufreadpre todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a %d %b %Y") | 7 | autocmd bufnewfile,bufreadpre todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a %d %b %Y") |
8 | autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal G" | 8 | autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal G" |
9 | 9 | ||