|
|
|
|
|
by hoherd
483 days ago
|
|
I do something similar for daily notes for work. I have a shell alias `tdw` for `TODO work` which opens a YYYY-MM.md file in vim. Inside of that markdown file I use a vim macro that generates a date similar to what is shown in calendar.txt, where I take notes about what I am working on and what I have worked on. Here's ane example of what it looks like: ## 2025-02-27 W09 Thursday
- Team standup
- Looking up flights to Venus
- Meeting with Acme
- Discuss hydrocoptic marzlevanes
- TODO: read up on them <http://example.com/docs/hydrocoptic-marzlevanes>
- (personal) Feed the dragon
- #5934 Fix glitch in dingle arm reciprocator
I kind of like the calendar.txt idea of prefixing every line with the date, because it makes grepping easier, but at the same time, it doesn't allow for sub-lists and more detailed notes about what was worked on. It hasn't been a big enough problem to deal with though, because of things like `grep -i -B10 encabulator`The vim macro I use is: " Macro To Do Today
nmap mtdt <esc>O<CR><esc>k"=strftime('## %F W%V %A')<CR>Pa<CR><CR>-
|
|
Most of my notes are write-only for a day or so but I keep the old ones around just in case I need to grep through everything (and I've saved myself doing this a few times).
Running `notes` will take you to today's directory to poke around, and `notes file.md` will open file.md in the appropriate dir.