diff options
| author | Jersey <fonseca@uchicago.edu> | 2020-06-24 17:45:31 +0000 |
|---|---|---|
| committer | Jersey <fonseca@uchicago.edu> | 2020-06-24 17:45:31 +0000 |
| commit | 62288cbeaf91f5eefcf920d254d02b72b52861cb (patch) | |
| tree | eeee52956aa0e2c9d7e6423d88278f9e33207010 | |
| parent | 4ff280f7e5323f761bf4f33ea5ea101ca77c324c (diff) | |
Adding template
| -rw-r--r-- | plugin/bujo.vim | 5 | ||||
| -rw-r--r-- | templates/todo.md | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/plugin/bujo.vim b/plugin/bujo.vim index b4d1d85..5856917 100644 --- a/plugin/bujo.vim +++ b/plugin/bujo.vim | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | if empty(glob('~/bujo')) | ||
| 2 | !mkdir ~/bujo/ | ||
| 3 | !mv ../templates/todo.md ~/bujo/ | ||
| 4 | endif | ||
| 5 | |||
| 1 | " Open the bujo todo list file | 6 | " Open the bujo todo list file |
| 2 | function s:OpenTodo() | 7 | function s:OpenTodo() |
| 3 | "30 makes it open at width 30 | 8 | "30 makes it open at width 30 |
diff --git a/templates/todo.md b/templates/todo.md new file mode 100644 index 0000000..1c5cf49 --- /dev/null +++ b/templates/todo.md | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | ``` | ||
| 2 | __________ ____ ____ | ||
| 3 | /_ __/ __ \/ __ \/ __ \ | ||
| 4 | / / / / / / / / / / / / | ||
| 5 | / / / /_/ / /_/ / /_/ / | ||
| 6 | /_/ \____/_____/\____/ | ||
| 7 | ``` | ||
| 8 | |||
| 9 | -[] | ||
