diff options
author | Jersey Fonseca <fonseca@uchicago.edu> | 2020-07-01 17:06:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 17:06:09 +0000 |
commit | 54cbb06376ab517f3c6f0aeaedc135bad42d0398 (patch) | |
tree | 4f415d9d45e71fc429d0eb512518538ac8cdad6f /plugin | |
parent | 8f210abf670a8ad6d9616525c9c13e5d1e4e7f82 (diff) | |
parent | 73d78e3861dff6aa0cd3b6d7703594cbeff37659 (diff) |
Merge pull request #15 from vuciv/formatting
removed autoformatting
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/bujo.vim | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim index cdc5d53..a002024 100644 --- a/plugin/bujo.vim +++ b/plugin/bujo.vim | |||
@@ -82,6 +82,3 @@ endif | |||
82 | 82 | ||
83 | " Update date upon enter. | 83 | " Update date upon enter. |
84 | autocmd bufnewfile todo.md call append(0, '#' . split(expand('%:p:h:t'), '\v\n')[0] . " todo") | 84 | autocmd bufnewfile todo.md call append(0, '#' . split(expand('%:p:h:t'), '\v\n')[0] . " todo") |
85 | autocmd bufnewfile todo.md call append(1, 'Date: ') | ||
86 | autocmd bufnewfile,bufread,filewritepre todo.md exe "g/Date: */s/Date: *.*/Date: " .strftime("%a %d %b %Y") | ||
87 | autocmd bufnewfile,Bufwritepre,filewritepre todo.md execute "normal Go" | ||