diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/bujo.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim new file mode 100644 index 0000000..b4d1d85 --- /dev/null +++ b/plugin/bujo.vim | |||
@@ -0,0 +1,9 @@ | |||
1 | " Open the bujo todo list file | ||
2 | function s:OpenTodo() | ||
3 | "30 makes it open at width 30 | ||
4 | exe ":30vs ~/bujo/todo.md" | ||
5 | endfunction | ||
6 | |||
7 | if !exists(":Todo") | ||
8 | command Todo :call s:OpenTodo() | ||
9 | endif | ||