summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/bujo.vim2
-rw-r--r--templates/.md.skeleton.swpbin0 -> 12288 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim
index 212344e..77587f4 100644
--- a/plugin/bujo.vim
+++ b/plugin/bujo.vim
@@ -3,7 +3,7 @@ if empty(glob('~/bujo'))
3 call mkdir($HOME . '/bujo', 'p') 3 call mkdir($HOME . '/bujo', 'p')
4endif 4endif
5 5
6autocmd bufnewfile todo.md so 0r $HOME/.vim/templates/%:e.skeleton 6autocmd bufnewfile todo.md call append(0, 'Date')
7autocmd bufnewfile todo.md exe "1," . 10 . "g/Date.*/s//" .strftime("%a d %b %Y") 7autocmd bufnewfile todo.md exe "1," . 10 . "g/Date.*/s//" .strftime("%a d %b %Y")
8autocmd Bufwritepre,filewritepre todo.md execute "normal ma" 8autocmd Bufwritepre,filewritepre todo.md execute "normal ma"
9 9
diff --git a/templates/.md.skeleton.swp b/templates/.md.skeleton.swp
new file mode 100644
index 0000000..3203d87
--- /dev/null
+++ b/templates/.md.skeleton.swp
Binary files differ