2 ms·
somefile.rst Which is plain text, and vim knows how to display headings and such. I never render it, .rst is just for syntax highlighting in vim. My current fi
by a3n 11y ago
somefile.rst
Which is plain text, and vim knows how to display headings and such. I never render it, .rst is just for syntax highlighting in vim. My current file is 2742 lines, and goes back to Sept. 2014.
I have the following shell script:
dt="$1" || "today"
date --date="$dt" +"%Y-%m-%d %a"
echo "--------------"
echo "- "
echo
I call it from vim:
:r!newday
or:
:r!newday tomorrow
Which creates this, which I then fill in as I go:
2016-04-03 Sun
--------------
- Commented on HN.
- > Make another comment on HN.
A plain bullet records what I did. A bullet followed by '>' means something I
need to do today (or tomorrow). Most of the time when I complete a todo, I
just remove the '>'. If it's still there at the end of the day I move it to
the next day's entry. In the manner of .rst, I sometimes have sub-bullets.
A new entry goes at the top. I have a few undated long-ish term entries at the very top.
That's for my work life. For my personal life I just sit on the couch and wait for emails from my ex-wife.