aboutsummaryrefslogtreecommitdiff
path: root/docs/index.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/index.xml')
-rw-r--r--docs/index.xml241
1 files changed, 241 insertions, 0 deletions
diff --git a/docs/index.xml b/docs/index.xml
index c0277f1..eb43379 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -12,6 +12,247 @@
12 <language>en-us</language> 12 <language>en-us</language>
13 <copyright>Creative Commons BY-NC-SA 4.0</copyright> 13 <copyright>Creative Commons BY-NC-SA 4.0</copyright>
14 <item> 14 <item>
15<title>Plain Text Journaling</title>
16<description>&lt;p&gt;I cobbled together a journaling system with {neo,}vim, coreutils and
17&lt;a href="http://www.fresse.org/dateutils"&gt;dateutils&lt;/a&gt;. This system is
18loosely based on &lt;a href="https://www.rydercarroll.com/"&gt;Ryder
19Caroll’s&lt;/a&gt; Bullet Journal method.&lt;/p&gt;
20&lt;p&gt;&lt;a href="https://u.peppe.rs/SpF.png"&gt;&lt;img
21src="https://u.peppe.rs/SpF.png" /&gt;&lt;/a&gt;&lt;/p&gt;
22&lt;h3 id="the-format"&gt;The format&lt;/h3&gt;
23&lt;p&gt;The journal for a given year is a directory:&lt;/p&gt;
24&lt;div class="sourceCode" id="cb1"&gt;&lt;pre
25class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb1-1"&gt;&lt;a href="#cb1-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;λ&lt;/span&gt; ls journal/&lt;/span&gt;
26&lt;span id="cb1-2"&gt;&lt;a href="#cb1-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;2022/&lt;/span&gt; 2023/&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
27&lt;p&gt;In each directory are 12 files, one for each month of the year,
28numbered like so:&lt;/p&gt;
29&lt;div class="sourceCode" id="cb2"&gt;&lt;pre
30class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb2-1"&gt;&lt;a href="#cb2-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;λ&lt;/span&gt; ls journal/2023/&lt;/span&gt;
31&lt;span id="cb2-2"&gt;&lt;a href="#cb2-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;01&lt;/span&gt; 02 03 04 05 06 07 08 09 10 11 12&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
32&lt;p&gt;We can now begin writing stuff down:&lt;/p&gt;
33&lt;div class="sourceCode" id="cb3"&gt;&lt;pre
34class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb3-1"&gt;&lt;a href="#cb3-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;λ&lt;/span&gt; vim journal/2023/1&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
35&lt;p&gt;Every month must start with a calendar of course, fill that in
36with:&lt;/p&gt;
37&lt;pre class="vim"&gt;&lt;code&gt;:read !cal -m&lt;/code&gt;&lt;/pre&gt;
38&lt;p&gt;Your entry for January might look like this:&lt;/p&gt;
39&lt;div class="sourceCode" id="cb5"&gt;&lt;pre
40class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb5-1"&gt;&lt;a href="#cb5-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;λ&lt;/span&gt; cat journal/2023/01&lt;/span&gt;
41&lt;span id="cb5-2"&gt;&lt;a href="#cb5-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt; &lt;span class="ex"&gt;January&lt;/span&gt; 2023&lt;/span&gt;
42&lt;span id="cb5-3"&gt;&lt;a href="#cb5-3" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;Mo&lt;/span&gt; Tu We Th Fr Sa Su&lt;/span&gt;
43&lt;span id="cb5-4"&gt;&lt;a href="#cb5-4" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt; &lt;span class="ex"&gt;1&lt;/span&gt;&lt;/span&gt;
44&lt;span id="cb5-5"&gt;&lt;a href="#cb5-5" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt; &lt;span class="ex"&gt;2&lt;/span&gt; 3 4 5 6 7 8&lt;/span&gt;
45&lt;span id="cb5-6"&gt;&lt;a href="#cb5-6" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt; &lt;span class="ex"&gt;9&lt;/span&gt; 10 11 12 13 14 15&lt;/span&gt;
46&lt;span id="cb5-7"&gt;&lt;a href="#cb5-7" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;16&lt;/span&gt; 17 18 19 20 21 22&lt;/span&gt;
47&lt;span id="cb5-8"&gt;&lt;a href="#cb5-8" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;23&lt;/span&gt; 24 25 26 27 28 29&lt;/span&gt;
48&lt;span id="cb5-9"&gt;&lt;a href="#cb5-9" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;30&lt;/span&gt; 31&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
49&lt;p&gt;I prefer planning week by week, as opposed to creating a task-list
50every day, here’s what I have for the first couple of weeks:&lt;/p&gt;
51&lt;pre&gt;&lt;code&gt; January 2023
52Mo Tu We Th Fr Sa Su
53 1
54 2 3 4 5 6 7 8
55 9 10 11 12 13 14 15
5616 17 18 19 20 21 22
5723 24 25 26 27 28 29
5830 31
59
60
61week 1
62
63done apply leaves
64done dload boarding pass
65moved reply to dan
66
67
68week 2
69
70todo reply to dan
71todo pack bags
72done travel insurance
73todo weigh luggage&lt;/code&gt;&lt;/pre&gt;
74&lt;p&gt;I start the week by writing a header and each item that week is
75placed on its own line. The items are prefixed with a &lt;code&gt;todo&lt;/code&gt;
76or a &lt;code&gt;done&lt;/code&gt; signifier.&lt;/p&gt;
77&lt;h3 id="form-over-function"&gt;Form over function&lt;/h3&gt;
78&lt;p&gt;Right off the bat, the signifiers look very noisy, Even more so once
79we start introducing variety (I use “event”, “note” and “moved”):&lt;/p&gt;
80&lt;pre&gt;&lt;code&gt;week 1
81
82todo apply leaves
83done dload boarding pass
84todo reply to dan
85event fr trip
86note weight 68.6&lt;/code&gt;&lt;/pre&gt;
87&lt;p&gt;We can clean this up with “abbreviations”
88(&lt;code&gt;:h abbreviations&lt;/code&gt;):&lt;/p&gt;
89&lt;pre class="vim"&gt;&lt;code&gt;:iabbrev todo ·
90:iabbrev done ×&lt;/code&gt;&lt;/pre&gt;
91&lt;p&gt;Now, typing this:&lt;/p&gt;
92&lt;pre&gt;&lt;code&gt;todo apply leaves&lt;/code&gt;&lt;/pre&gt;
93&lt;p&gt;Automatically inserts:&lt;/p&gt;
94&lt;pre&gt;&lt;code&gt;· apply leaves&lt;/code&gt;&lt;/pre&gt;
95&lt;p&gt;You can use &lt;code&gt;x&lt;/code&gt; and &lt;code&gt;o&lt;/code&gt; as well, but
96&lt;code&gt;×&lt;/code&gt; (U+00D7, MULTIPLICATION SIGN) and &lt;code&gt;·&lt;/code&gt; (U+00B7,
97MIDDLE DOT) are more … &lt;em&gt;gourmet&lt;/em&gt;.&lt;/p&gt;
98&lt;p&gt;The other signifiers I use are:&lt;/p&gt;
99&lt;ul&gt;
100&lt;li&gt;&lt;code&gt;-&lt;/code&gt; for note&lt;/li&gt;
101&lt;li&gt;&lt;code&gt;o&lt;/code&gt; for event&lt;/li&gt;
102&lt;li&gt;&lt;code&gt;&amp;gt;&lt;/code&gt; for moved.&lt;/li&gt;
103&lt;/ul&gt;
104&lt;p&gt;Nit #2 is the lack of order. We can employ vim to introduce grouping
105and sorting. Select the list of entries for this week:&lt;/p&gt;
106&lt;pre class="vim"&gt;&lt;code&gt;vip &amp;quot; line-wise select inner paragraph
107:&amp;#39;&amp;lt;,&amp;#39;&amp;gt;sort &amp;quot; the markers &amp;#39;&amp;lt; and &amp;#39;&amp;gt; are automatically inserted,
108 &amp;quot; they mark the start and end of the selection&lt;/code&gt;&lt;/pre&gt;
109&lt;p&gt;We end up with:&lt;/p&gt;
110&lt;pre&gt;&lt;code&gt;week 1
111
112· apply leaves
113· reply to dan
114× dload boarding pass&lt;/code&gt;&lt;/pre&gt;
115&lt;p&gt;The lines are grouped by their signifiers, segregating todo items
116from completed items. Luckily, MIDDLE DOT is lesser than MULTIPLICATION
117SIGN, so todo items are placed at the top. The same goes for
118&lt;code&gt;o&lt;/code&gt; and &lt;code&gt;x&lt;/code&gt; symbols, either set of signifiers will
119result in the same sorting order.&lt;/p&gt;
120&lt;p&gt;We can shorten this select-paragraph-invoke-sort dance by setting the
121&lt;code&gt;formatprg&lt;/code&gt; variable:&lt;/p&gt;
122&lt;pre class="vim"&gt;&lt;code&gt;:set formatprg=sort\ -V&lt;/code&gt;&lt;/pre&gt;
123&lt;p&gt;Now, hitting &lt;code&gt;gqip&lt;/code&gt; should automatically group and sort
124the items for the week under the cursor, moving todo items to the top.
125Finding signifier glyphs that suit your sorting preference is a fun
126exercise.&lt;/p&gt;
127&lt;h3 id="syntax-highlighting"&gt;Syntax highlighting&lt;/h3&gt;
128&lt;p&gt;Adding color to items introduces another layer of visual distinction.
129In truth, I like to deck it out just because.&lt;/p&gt;
130&lt;p&gt;First, create a few syntax groups:&lt;/p&gt;
131&lt;pre class="vim"&gt;&lt;code&gt;:syntax match JournalAll /.*/ &amp;quot; captures the entire buffer
132:syntax match JournalDone /^×.*/ &amp;quot; lines containing &amp;#39;done&amp;#39; items: ×
133:syntax match JournalTodo /^·.*/ &amp;quot; lines containing &amp;#39;todo&amp;#39; items: ·
134:syntax match JournalEvent /^o.*/ &amp;quot; lines containing &amp;#39;event&amp;#39; items: o
135:syntax match JournalNote /^- .*/ &amp;quot; lines containing &amp;#39;note&amp;#39; items: -
136:syntax match JournalMoved /^&amp;gt;.*/ &amp;quot; lines containing &amp;#39;moved&amp;#39; items: &amp;gt;&lt;/code&gt;&lt;/pre&gt;
137&lt;p&gt;Add highlights to each group:&lt;/p&gt;
138&lt;pre class="vim"&gt;&lt;code&gt;:highlight JournalAll ctermfg=12 &amp;quot; bright black
139:highlight JournalDone ctermfg=12 &amp;quot; bright black
140:highlight JournalEvent ctermfg=6 &amp;quot; cyan
141:highlight JournalMoved ctermfg=5 &amp;quot; magenta
142:highlight JournalNote ctermfg=3 &amp;quot; yellow&lt;/code&gt;&lt;/pre&gt;
143&lt;p&gt;In my terminal, this is rendered like so:&lt;/p&gt;
144&lt;p&gt;&lt;a href="https://u.peppe.rs/Du6.png"&gt;&lt;img
145src="https://u.peppe.rs/Du6.png" /&gt;&lt;/a&gt;&lt;/p&gt;
146&lt;h3 id="habit-tracking"&gt;Habit tracking&lt;/h3&gt;
147&lt;p&gt;While this is not a part of my journaling system anymore, a few
148headers and an awk script is all it takes to track habits. My weekly
149entries would include a couple of habit headers like so:&lt;/p&gt;
150&lt;pre&gt;&lt;code&gt;week 1 --------------
151
152× wake up on time
153× water the plants
154
155spend 7.5 7 10
156---------------------
157
158
159week 2 --------------
160
161· make the bed
162· go to bed
163
164spend 30 2.75 6
165---------------------&lt;/code&gt;&lt;/pre&gt;
166&lt;p&gt;Here, under the &lt;code&gt;spend&lt;/code&gt; header in week 1, are a list of
167expenditures accumulated over the week. The monthly spend is calculated
168with this awk script:&lt;/p&gt;
169&lt;div class="sourceCode" id="cb17"&gt;&lt;pre
170class="sourceCode awk"&gt;&lt;code class="sourceCode awk"&gt;&lt;span id="cb17-1"&gt;&lt;a href="#cb17-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="cf"&gt;BEGIN&lt;/span&gt; &lt;span class="op"&gt;{&lt;/span&gt;spend&lt;span class="op"&gt;=&lt;/span&gt;&lt;span class="dv"&gt;0&lt;/span&gt;&lt;span class="op"&gt;;}&lt;/span&gt;&lt;/span&gt;
171&lt;span id="cb17-2"&gt;&lt;a href="#cb17-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ot"&gt;/&lt;/span&gt;&lt;span class="ss"&gt;spend&lt;/span&gt;&lt;span class="ot"&gt;/&lt;/span&gt; &lt;span class="op"&gt;{&lt;/span&gt;&lt;span class="cf"&gt;for&lt;/span&gt;&lt;span class="op"&gt;(&lt;/span&gt;i&lt;span class="op"&gt;=&lt;/span&gt;&lt;span class="dv"&gt;1&lt;/span&gt;&lt;span class="op"&gt;;&lt;/span&gt;i&lt;span class="op"&gt;&amp;lt;=&lt;/span&gt;&lt;span class="dt"&gt;$NF&lt;/span&gt;&lt;span class="op"&gt;;&lt;/span&gt;i&lt;span class="op"&gt;++)&lt;/span&gt; spend&lt;span class="op"&gt;+=&lt;/span&gt;&lt;span class="dt"&gt;$i&lt;/span&gt;&lt;span class="op"&gt;;}&lt;/span&gt;&lt;/span&gt;
172&lt;span id="cb17-3"&gt;&lt;a href="#cb17-3" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="cf"&gt;END&lt;/span&gt; &lt;span class="op"&gt;{&lt;/span&gt; &lt;span class="kw"&gt;printf&lt;/span&gt; spend &lt;span class="st"&gt;&amp;quot;eur&amp;quot;&lt;/span&gt;&lt;span class="op"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
173&lt;p&gt;And invoked like so:&lt;/p&gt;
174&lt;pre&gt;&lt;code&gt;λ awk -f spend.awk journal/2023/01
17563.25eur&lt;/code&gt;&lt;/pre&gt;
176&lt;h3 id="reflection"&gt;Reflection&lt;/h3&gt;
177&lt;p&gt;Journaling is not just about planning what is to come, but also
178reflecting on what has passed. It would make sense to simultaneously
179look at the past few weeks’ entries while making your current one. To
180open multiple months of entries at the same time:&lt;/p&gt;
181&lt;pre&gt;&lt;code&gt;λ vim -O journal/2023/0{1,2,3}&lt;/code&gt;&lt;/pre&gt;
182&lt;p&gt;Opens 3 months, side-by-side, in vertical splits:&lt;/p&gt;
183&lt;pre&gt;&lt;code&gt;JANUARY ------------ │ FEBRUARY ----------- │ MARCH --------------
184 │ │
185Mo Tu We Th Fr Sa Su │ Mo Tu We Th Fr Sa Su │ Mo Tu We Th Fr Sa Su
186 1 │ 1 2 3 4 5 │ 1 2 3 4 5
187 2 3 4 5 6 7 8 │ 6 7 8 9 10 11 12 │ 6 7 8 9 10 11 12
188 9 10 11 12 13 14 15 │ 13 14 15 16 17 18 19 │ 13 14 15 16 17 18 19
18916 17 18 19 20 21 22 │ 20 21 22 23 24 25 26 │ 20 21 22 23 24 25 26
19023 24 25 26 27 28 29 │ 27 28 │ 27 28 29 30 31
19130 31 │ │
192 │ │
193 │ │
194WEEK 1 ------------- │ WEEK 1 ------------- │ WEEK 1 -------------
195 │ │
196&amp;gt; latex setup │ &amp;gt; forex │ - weight: 64
197× make the bed │ × clean shoes │ &amp;gt; close sg-pr
198× 03: dentist │ × buy clothes │ × facewash
199× integrate tsg │ × draw │ × groceries
200 │ │
201 │ │
202WEEK 2 ------------- │ WEEK 2 ------------- │ WEEK 2 -------------
203 │ │
204× latex setup │ - viral fever │ &amp;gt; close sg-pr
205× send invoice │ × forex │ × plan meet
206× stack-graph pr │ × activate sim │ × sg storage
207 │ × bitlbee │&lt;/code&gt;&lt;/pre&gt;
208&lt;h3 id="reducing-friction"&gt;Reducing friction&lt;/h3&gt;
209&lt;p&gt;Journaling already requires a solid amount of discipline and
210consistency. The added friction of typing
211&lt;code&gt;vim journal/$CURRENT_YEAR/$CURRENT_MONTH&lt;/code&gt; each time is doing
212no favors.&lt;/p&gt;
213&lt;p&gt;To open the current month based on system time:&lt;/p&gt;
214&lt;div class="sourceCode" id="cb21"&gt;&lt;pre
215class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb21-1"&gt;&lt;a href="#cb21-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;λ&lt;/span&gt; vim &lt;span class="va"&gt;$(&lt;/span&gt;&lt;span class="fu"&gt;date&lt;/span&gt; +&lt;span class="st"&gt;&amp;quot;%Y/%m&amp;quot;&lt;/span&gt;&lt;span class="va"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
216&lt;p&gt;To open all the months within a 2 month window of today, is a little
217trickier. The command we wish to generate is (if today is 2023/12):&lt;/p&gt;
218&lt;div class="sourceCode" id="cb22"&gt;&lt;pre
219class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb22-1"&gt;&lt;a href="#cb22-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;λ&lt;/span&gt; vim &lt;span class="at"&gt;-O&lt;/span&gt; 2023/10 2023/11 2023/12 2024/01 2024/02&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
220&lt;p&gt;And that is where &lt;code&gt;dateseq&lt;/code&gt; from &lt;a
221href="http://www.fresse.org/dateutils"&gt;dateutils&lt;/a&gt; comes in handy, for
222example:&lt;/p&gt;
223&lt;div class="sourceCode" id="cb23"&gt;&lt;pre
224class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb23-1"&gt;&lt;a href="#cb23-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;λ&lt;/span&gt; dateseq 2012-02-01 2012-03-01&lt;/span&gt;
225&lt;span id="cb23-2"&gt;&lt;a href="#cb23-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;2012-02-01&lt;/span&gt;&lt;/span&gt;
226&lt;span id="cb23-3"&gt;&lt;a href="#cb23-3" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;2012-02-02&lt;/span&gt;&lt;/span&gt;
227&lt;span id="cb23-4"&gt;&lt;a href="#cb23-4" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;2012-02-03&lt;/span&gt;&lt;/span&gt;
228&lt;span id="cb23-5"&gt;&lt;a href="#cb23-5" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;...&lt;/span&gt;&lt;/span&gt;
229&lt;span id="cb23-6"&gt;&lt;a href="#cb23-6" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;2012-02-28&lt;/span&gt;&lt;/span&gt;
230&lt;span id="cb23-7"&gt;&lt;a href="#cb23-7" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;2012-02-29&lt;/span&gt;&lt;/span&gt;
231&lt;span id="cb23-8"&gt;&lt;a href="#cb23-8" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;2012-03-01&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
232&lt;p&gt;This script opens all months within a 2 month window of today:&lt;/p&gt;
233&lt;div class="sourceCode" id="cb24"&gt;&lt;pre
234class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb24-1"&gt;&lt;a href="#cb24-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;λ&lt;/span&gt; vim &lt;span class="at"&gt;-O&lt;/span&gt; &lt;span class="va"&gt;$(&lt;/span&gt;&lt;/span&gt;
235&lt;span id="cb24-2"&gt;&lt;a href="#cb24-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt; &lt;span class="ex"&gt;dateseq&lt;/span&gt; &lt;span class="dt"&gt;\&lt;/span&gt;&lt;/span&gt;
236&lt;span id="cb24-3"&gt;&lt;a href="#cb24-3" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt; &lt;span class="st"&gt;&amp;quot;&lt;/span&gt;&lt;span class="va"&gt;$(&lt;/span&gt;&lt;span class="fu"&gt;date&lt;/span&gt; &lt;span class="at"&gt;--date&lt;/span&gt; &lt;span class="st"&gt;&amp;quot;2 months ago&amp;quot;&lt;/span&gt; +%Y/%m&lt;span class="va"&gt;)&lt;/span&gt;&lt;span class="st"&gt;&amp;quot;&lt;/span&gt; &lt;span class="dt"&gt;\&lt;/span&gt;&lt;/span&gt;
237&lt;span id="cb24-4"&gt;&lt;a href="#cb24-4" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt; &lt;span class="st"&gt;&amp;quot;&lt;/span&gt;&lt;span class="va"&gt;$(&lt;/span&gt;&lt;span class="fu"&gt;date&lt;/span&gt; &lt;span class="at"&gt;--date&lt;/span&gt; &lt;span class="st"&gt;&amp;quot;2 months&amp;quot;&lt;/span&gt; +%Y/%m&lt;span class="va"&gt;)&lt;/span&gt;&lt;span class="st"&gt;&amp;quot;&lt;/span&gt; &lt;span class="dt"&gt;\&lt;/span&gt;&lt;/span&gt;
238&lt;span id="cb24-5"&gt;&lt;a href="#cb24-5" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt; &lt;span class="at"&gt;-i&lt;/span&gt; %Y/%m &lt;span class="dt"&gt;\&lt;/span&gt;&lt;/span&gt;
239&lt;span id="cb24-6"&gt;&lt;a href="#cb24-6" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt; &lt;span class="at"&gt;-f&lt;/span&gt; %Y/%m&lt;/span&gt;
240&lt;span id="cb24-7"&gt;&lt;a href="#cb24-7" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="va"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
241&lt;h3 id="fin"&gt;Fin&lt;/h3&gt;
242&lt;p&gt;You can find a sample vimrc file here: &lt;a
243href="https://git.peppe.rs/cli/journal/tree"&gt;cli/journal&lt;/a&gt;, along with
244a nix flake file to kick things off.&lt;/p&gt;
245&lt;p&gt;Plain text journaling can be just as much fun as a pen and paper.
246Throw in some ASCII art for each month, use swankier signifiers, or
247louder syntax highlighting. Don’t expect forgiveness from org-mode users
248though.&lt;/p&gt;
249&lt;p&gt;&lt;a href="https://u.peppe.rs/ZCK.png"&gt;&lt;img
250src="https://u.peppe.rs/ZCK.png" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
251<link>https://peppe.rs/posts/plain_text_journaling/</link>
252<pubDate>Sun, 18 Jun 2023 19:40:00 +0000</pubDate>
253<guid>https://peppe.rs/posts/plain_text_journaling/</guid>
254</item>
255<item>
15<title>Curing A Case Of Git-UX</title> 256<title>Curing A Case Of Git-UX</title>
16<description>&lt;p&gt;Git worktrees are great, but they fall behind the venerable 257<description>&lt;p&gt;Git worktrees are great, but they fall behind the venerable
17&lt;code&gt;git checkout&lt;/code&gt; sometimes. I attempted to fix that with &lt;a 258&lt;code&gt;git checkout&lt;/code&gt; sometimes. I attempted to fix that with &lt;a