if empty(glob('~/bujo')) call mkdir($HOME . '/bujo', 'p') exe "!mv ./../templates/todo.md ~/bujo/" endif " Open the bujo todo list file function s:OpenTodo() "30 makes it open at width 30 exe ":30vs " + $HOME + "/bujo/todo.md" endfunction if !exists(":Todo") command Todo :call s:OpenTodo() endif