From 6b118944809f42d3af2a1b20f71f1aad580dc08d Mon Sep 17 00:00:00 2001 From: Jersey Date: Wed, 24 Jun 2020 15:37:08 -0500 Subject: First release --- plugin/bujo.vim | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'plugin') diff --git a/plugin/bujo.vim b/plugin/bujo.vim index cc8a84e..9531421 100644 --- a/plugin/bujo.vim +++ b/plugin/bujo.vim @@ -1,17 +1,7 @@ -autocmd BufWritePre,FileWritePre todo.md ks|call LastMod()|'s -fun LastMod() - if line("$") > 20 - let l = 20 - else - let l = line("$") - endif - exe "1," . l . "g/Date: /s/Date: .*/Date: " . - \ strftime("%Y %b %d") -endfun - "Make bujo directory if it doesn't exist" if empty(glob('~/bujo')) call mkdir($HOME . '/bujo', 'p') + endif " Open the bujo todo list file -- cgit v1.2.3