summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorJersey <fonseca@uchicago.edu>2020-06-24 21:32:04 +0000
committerJersey <fonseca@uchicago.edu>2020-06-24 21:32:04 +0000
commit04c4680c86cf32c44bd723d7340dd31a29b16835 (patch)
treef769870b4427368ed8a266ab2795999d30fc13d4 /plugin
parent0c34b83cf72d3a667aa4a023add9a062cc368097 (diff)
Trying out
Diffstat (limited to 'plugin')
-rw-r--r--plugin/bujo.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim
index 3764af5..9250608 100644
--- a/plugin/bujo.vim
+++ b/plugin/bujo.vim
@@ -3,6 +3,12 @@ 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 <> "how do i insert the text file?
7autocmd bufnewfile todo.md exe "1," . 10 . "g/Date.*/s//" .strftime("%a d %b %Y")
8autocmd Bufwritepre,filewritepre todo.md execute "normal ma"
9
10
11
6" Open the bujo todo list file 12" Open the bujo todo list file
7function s:OpenTodo() 13function s:OpenTodo()
8 "30 makes it open at width 30 14 "30 makes it open at width 30