journaling system cobbled together with nix, vim, coreutils

include more examples

Changed files
+162 -29
examples
+2 -1
.gitignore
··· 2 2 !.gitignore 3 3 !flake.* 4 4 !.nvimrc 5 - !/examples/* 5 + !examples 6 + !examples/**
-1
.nvimrc
··· 21 21 autocmd BufReadPost * highlight JournalAll ctermfg=12 22 22 autocmd BufReadPost * highlight JournalHeader ctermfg=12 23 23 autocmd BufReadPost * highlight JournalDone ctermfg=12 24 - autocmd BufReadPost * highlight JournalMoved ctermfg=12 25 24 autocmd BufReadPost * highlight JournalEvent ctermfg=6 " cyan 26 25 autocmd BufReadPost * highlight JournalMoved ctermfg=5 " pink 27 26 autocmd BufReadPost * highlight JournalNote ctermfg=3 " yellow
+44
examples/06
··· 1 + JUNE --------------- 2 + 3 + Mo Tu We Th Fr Sa Su 4 + 1 2 3 4 5 + 5 6 7 8 9 10 11 6 + 12 13 14 15 16 17 18 7 + 19 20 21 22 23 24 25 8 + 26 27 28 29 30 9 + 10 + 11 + WEEK 1 ------------- 12 + 13 + > peel apples 14 + × buy apples 15 + × post letters 16 + × wash them 17 + 18 + 19 + WEEK 2 ------------- 20 + 21 + o shopping trip 22 + > make apple pie 23 + × buy cookbook 24 + × replace brushes 25 + × watch pie recipe 26 + 27 + 28 + WEEK 3 ------------- 29 + 30 + - weight: 70kg 31 + > renew gym sub 32 + > visit thrift store 33 + × make apple pie 34 + × return cookbook 35 + × scan cookbook 36 + 37 + 38 + WEEK 4 ------------- 39 + 40 + o thrift store visit 41 + × make apple pie 42 + × renew gym sub 43 + × return cookbook 44 + × scan cookbook
+48
examples/07
··· 1 + JULY --------------- 2 + 3 + Mo Tu We Th Fr Sa Su 4 + 1 2 5 + 3 4 5 6 7 8 9 6 + 10 11 12 13 14 15 16 7 + 17 18 19 20 21 22 23 8 + 24 25 26 27 28 29 30 9 + 31 10 + 11 + 12 + WEEK 1 ------------- 13 + 14 + o shopping trip 15 + o thrift store visit 16 + > make apple pie 17 + × buy cookbook 18 + × replace brushes 19 + × watch pie recipe 20 + 21 + 22 + WEEK 2 ------------- 23 + 24 + - weight: 70kg 25 + > peel apples 26 + × buy apples 27 + × post letters 28 + × wash them 29 + 30 + 31 + WEEK 3 ------------- 32 + 33 + o thrift store visit 34 + × make apple pie 35 + × renew gym sub 36 + × return cookbook 37 + × scan cookbook 38 + 39 + 40 + WEEK 4 ------------- 41 + 42 + - weight: 70kg 43 + > renew gym sub 44 + > visit thrift store 45 + × make apple pie 46 + × return cookbook 47 + × scan cookbook 48 +
+44
examples/08
··· 1 + AUGUST ------------- 2 + 3 + Mo Tu We Th Fr Sa Su 4 + 1 2 3 4 5 6 5 + 7 8 9 10 11 12 13 6 + 14 15 16 17 18 19 20 7 + 21 22 23 24 25 26 27 8 + 28 29 30 31 9 + 10 + 11 + WEEK 1 ------------- 12 + 13 + o thrift store visit 14 + × make apple pie 15 + × renew gym sub 16 + × return cookbook 17 + × scan cookbook 18 + 19 + 20 + WEEK 2 ------------- 21 + 22 + > peel apples 23 + × buy apples 24 + × post letters 25 + × wash them 26 + 27 + 28 + WEEK 3 ------------- 29 + 30 + - weight: 70kg 31 + > renew gym sub 32 + > visit thrift store 33 + × make apple pie 34 + × return cookbook 35 + × scan cookbook 36 + 37 + 38 + WEEK 4 ------------- 39 + 40 + · shopping trip 41 + · make apple pie 42 + · buy cookbook 43 + · replace brushes 44 + > watch pie recipe
+13
examples/09
··· 1 + SEPTEMBER ---------- 2 + 3 + Mo Tu We Th Fr Sa Su 4 + 1 2 3 5 + 4 5 6 7 8 9 10 6 + 11 12 13 14 15 16 17 7 + 18 19 20 21 22 23 24 8 + 25 26 27 28 29 30 9 + 10 + 11 + WEEK 1 ------------- 12 + 13 + · watch pie recipe
+10
examples/10
··· 1 + OCTOBER ------------ 2 + 3 + Mo Tu We Th Fr Sa Su 4 + 1 5 + 2 3 4 5 6 7 8 6 + 9 10 11 12 13 14 15 7 + 16 17 18 19 20 21 22 8 + 23 24 25 26 27 28 29 9 + 30 31 10 +
-26
examples/entry
··· 1 - JANUARY ------------ 2 - 3 - Mo Tu We Th Fr Sa Su 4 - 1 5 - 2 3 4 5 6 7 8 6 - 9 10 11 12 13 14 15 7 - 16 17 18 19 20 21 22 8 - 23 24 25 26 27 28 29 9 - 30 31 10 - 11 - 12 - WEEK 1 ------------- 13 - 14 - - weight: 68 15 - > publish new art 16 - > write blog post 17 - > rework scripts 18 - × create examples 19 - 20 - 21 - WEEK 2 ------------- 22 - 23 - o dentist 24 - · publish new art 25 - · rework scripts 26 - · write blog post
+1 -1
flake.nix
··· 10 10 11 11 packages.x86_64-linux.default = 12 12 # starts nvim with 2 months of journal entries ahead and behind 13 - # nvim --cmd 'source .nvimrc' -O 2023/10 2023/11 2023/12 2024/01 13 + # nvim --cmd 'source .nvimrc' -O 2023/10 2023/11 2023/12 2024/01 2024/02 14 14 pkgs.writeScriptBin "journal" '' 15 15 nvim --cmd 'source .nvimrc' -O $( 16 16 ${pkgs.dateutils}/bin/dateseq \