|
| 1 | +# WODO |
| 2 | + |
| 3 | +_Wodo_ is a todo list tracking system vim-based. |
| 4 | + |
| 5 | +You can create `.todo.md` files wherever you want and just call `wodo add /path/to/file` and that's it. |
| 6 | + |
| 7 | +Everytime you want to check all of your todos you can just do `wodo view`, this will list every todo file you have, parse and display it to you. |
| 8 | + |
| 9 | +To use it, you need to add some configurations to vim: |
| 10 | + |
| 11 | +```vim |
| 12 | +augroup TodoListFile |
| 13 | + autocmd! |
| 14 | + autocmd BufRead,BufNewFile *.todo* nnoremap <leader>t <esc>$vF-da- Todo<esc>0f[lr |
| 15 | + autocmd BufRead,BufNewFile *.todo* nnoremap <leader>i <esc>$vF-da- Doing<esc>0f[lr |
| 16 | + autocmd BufRead,BufNewFile *.todo* nnoremap <leader>c <esc>$vF-da- Done<esc>0f[lrx<esc>j^f[l |
| 17 | + autocmd BufRead,BufNewFile *.todo* nnoremap <leader>a <esc>0Di- [ ] <name> \| --day-- 00, 00:00 - 00:00 - Todo<esc>0fnh |
| 18 | +augroup END |
| 19 | +``` |
| 20 | + |
| 21 | +This configurations will allow you to type: |
| 22 | + |
| 23 | +- `<leader>t` to put a task in `todo` mode |
| 24 | +- `<leader>i` to put a task in `progress` mode |
| 25 | +- `<leader>c` to put a task in `done` mode |
| 26 | +- `<leader>a` to create a new task in a blank line |
| 27 | + |
| 28 | +Then, you can just do `wodo add /path/to/file`. |
| 29 | + |
| 30 | +After do this, everytime you update this file the wodo will be able to see this modifications and when you do `wodo view` you will get all your todo files with the updates states and see where everyone is and the state of which one. |
| 31 | + |
| 32 | +**Check the `examples` folder to a todo file example** |
| 33 | + |
| 34 | +## Info |
| 35 | + |
| 36 | +Maybe I'll update this project to allow you to: |
| 37 | + |
| 38 | +- automatically open a todo file on your vim |
| 39 | +- display aligned tasks |
| 40 | +- allow modify tasks via cli |
| 41 | + - change state of a task |
| 42 | + - remove a task |
| 43 | + - add a new task (by opening vim tabs) |
| 44 | + - edit a task (by opening vim tabs) |
| 45 | +- validate time ranges |
| 46 | +- have a calendar view |
| 47 | + |
| 48 | +and some other stuff. |
| 49 | + |
| 50 | +**And of course, I need to refactor this mess of almost 1000 lines main.c file** |
| 51 | + |
0 commit comments