From 748d354710b511cf2d4e090d98a6b44ab08f015f Mon Sep 17 00:00:00 2001 From: Jersey Date: Thu, 25 Jun 2020 11:34:28 -0500 Subject: Changing buffer types --- plugin/bujo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin') 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)) endif autocmd bufnewfile todo.md call append(0, '#Todo') autocmd bufnewfile todo.md call append(1, 'Date: ') -autocmd bufnewfile,bufreadpre,filewritepre todo.md exe "g/Date: */s/Date: *.*/Date: " .strftime("%a %d %b %Y") +autocmd bufnewfile,bufread,filewritepre todo.md exe "g/Date: */s/Date: *.*/Date: " .strftime("%a %d %b %Y") autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal Go" -- cgit v1.2.3