Tech News
← Back to articles

Journaling using Nix, Vim and coreutils

read original related products more articles

I cobbled together a journaling system with {neo,}vim, coreutils and dateutils. This system is loosely based on Ryder Caroll's Bullet Journal method.

The format

The journal for a given year is a directory:

λ ls journal/ 2022/ 2023/

In each directory are 12 files, one for each month of the year, numbered like so:

λ ls journal/2023/ 01 02 03 04 05 06 07 08 09 10 11 12

We can now begin writing stuff down:

λ vim journal/2023/1

Every month must start with a calendar of course, fill that in with:

:read !cal -m

... continue reading