Skip to content

Commit 9a5b9fd

Browse files
V 0.1.0
0 parents  commit 9a5b9fd

File tree

4 files changed

+1120
-0
lines changed

4 files changed

+1120
-0
lines changed

Makefile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
wodo: main.o
2+
gcc -Wall -Wextra -pedantic -ggdb -o wodo main.o
3+
4+
main.o: main.c
5+
gcc -Wall -Wextra -pedantic -ggdb -c main.c -o main.o
6+
7+
clean:
8+
rm -rf *.o wodo

README.md

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+

examples/learning-path.todo.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
- [x] Lesson 04 | Saturday 08, 19:00 - 19:30 - Done
2+
- [ ] Lesson 05 | Sunday 09, 07:30 - 09:30 - Todo
3+
- [ ] Lesson 06 | Monday 10, 07:00 - 09:00 - Todo
4+
- [ ] Lesson 07 | Tuesday 11, 07:00 - 09:00 - Todo
5+
- [ ] Lesson 08 | Wednesday 12, 07:00 - 09:00 - Todo
6+
- [ ] Lesson 09 | Thursday 13, 07:00 - 09:00 - Todo
7+
- [ ] Lesson 10 | Friday 14, 07:00 - 09:00 - Todo
8+
- [ ] Lesson 11 | Saturday 15, 13:00 - 15:00 - Todo
9+
- [ ] Lesson 12 | Sunday 16, 07:30 - 09:30 - Todo
10+
- [ ] Lesson 13 | Monday 17, 07:00 - 09:00 - Todo
11+
- [ ] Lesson 14 | Tuesday 18, 07:00 - 09:00 - Todo
12+
- [ ] Lesson 15 | Wednesday 19, 07:00 - 09:00 - Todo
13+
- [ ] Lesson 16 | Thursday 20, 07:00 - 09:00 - Todo
14+
- [ ] Lesson 17 | Friday 21, 07:00 - 09:00 - Todo
15+
- [ ] Lesson 18 | Saturday 22, 13:00 - 15:00 - Todo
16+
- [ ] Lesson 19 | Sunday 23, 07:30 - 09:30 - Todo
17+
- [ ] Lesson 20 | Monday 24, 07:00 - 09:00 - Todo
18+
- [ ] Lesson 21 | Tuesday 25, 07:00 - 09:00 - Todo
19+
- [ ] Lesson 22 | Wednesday 26, 07:00 - 09:00 - Todo

0 commit comments

Comments
 (0)