summaryrefslogtreecommitdiff
path: root/plugin/bujo.vim
diff options
context:
space:
mode:
authorJersey <fonseca@uchicago.edu>2020-06-25 16:34:28 +0000
committerJersey <fonseca@uchicago.edu>2020-06-25 16:34:28 +0000
commit748d354710b511cf2d4e090d98a6b44ab08f015f (patch)
tree958af570067b2f15501e74be15b8993f39b99535 /plugin/bujo.vim
parent43e95b9f1580acca6c14e166155762cf11b5160b (diff)
Changing buffer types
Diffstat (limited to 'plugin/bujo.vim')
-rw-r--r--plugin/bujo.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim
index ecca104..f29d268 100644
--- a/plugin/bujo.vim
+++ b/plugin/bujo.vim
@@ -5,7 +5,7 @@ if empty(glob(g:bujo#todo_file_path))
5endif 5endif
6autocmd bufnewfile todo.md call append(0, '#Todo') 6autocmd bufnewfile todo.md call append(0, '#Todo')
7autocmd bufnewfile todo.md call append(1, 'Date: ') 7autocmd bufnewfile todo.md call append(1, 'Date: ')
8autocmd bufnewfile,bufreadpre,filewritepre todo.md exe "g/Date: */s/Date: *.*/Date: " .strftime("%a %d %b %Y") 8autocmd bufnewfile,bufread,filewritepre todo.md exe "g/Date: */s/Date: *.*/Date: " .strftime("%a %d %b %Y")
9autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal Go" 9autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal Go"
10 10
11 11