diff options
author | Jersey <fonseca@uchicago.edu> | 2020-06-25 16:15:14 +0000 |
---|---|---|
committer | Jersey <fonseca@uchicago.edu> | 2020-06-25 16:15:14 +0000 |
commit | 43e95b9f1580acca6c14e166155762cf11b5160b (patch) | |
tree | 6005c5e2f7463cad6836160e7e0e0621ec4b97b6 | |
parent | ee435db82f07e63dee5a02526cefddaa248c3b8c (diff) |
edit date works
-rw-r--r-- | plugin/bujo.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim index 62b8144..ecca104 100644 --- a/plugin/bujo.vim +++ b/plugin/bujo.vim | |||
@@ -5,7 +5,7 @@ if empty(glob(g:bujo#todo_file_path)) | |||
5 | endif | 5 | endif |
6 | autocmd bufnewfile todo.md call append(0, '#Todo') | 6 | autocmd bufnewfile todo.md call append(0, '#Todo') |
7 | autocmd bufnewfile todo.md call append(1, 'Date: ') | 7 | autocmd bufnewfile todo.md call append(1, 'Date: ') |
8 | autocmd bufnewfile,bufreadpre,filewritepre todo.md exe "g/Date: */s/Date: /Date: " .strftime("%a %d %b %Y") | 8 | autocmd bufnewfile,bufreadpre,filewritepre todo.md exe "g/Date: */s/Date: *.*/Date: " .strftime("%a %d %b %Y") |
9 | autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal Go" | 9 | autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal Go" |
10 | 10 | ||
11 | 11 | ||