blob: 953142190e638e9d38563e83fb7245c25fe1541d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
"Make bujo directory if it doesn't exist"
if empty(glob('~/bujo'))
call mkdir($HOME . '/bujo', 'p')
endif
" Open the bujo todo list file
function s:OpenTodo()
"30 makes it open at width 30
exe ":30vs ~/bujo/todo.md"
endfunction
if !exists(":Todo")
command Todo :call s:OpenTodo()
endif
|