diff options
author | Jersey <fonseca@uchicago.edu> | 2020-06-24 22:18:58 +0000 |
---|---|---|
committer | Jersey <fonseca@uchicago.edu> | 2020-06-24 22:18:58 +0000 |
commit | cd73720804195e44b65a4bb85ce6821d2ddceff8 (patch) | |
tree | d773b8d0bb47d52b5334df546db2d56f2f4b563f | |
parent | 6399bdbdb9373acd53bfbbe6b0ab2fe23a39ecf0 (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 56c326f..1897073 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 | 5 | autocmd bufnewfile todo.md call append(0, ' __________ ____ ____\n /_ __/ __ \/ __ \/ __ \\n') | |
6 | autocmd bufnewfile todo.md call append(0, '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 | ||