Replies: 1 comment
-
Thanks for sharing, this is awesome! I might link to it in the documentation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Overview
I find that the majority of my note taking these days are those from recurring meetings. This includes weekly staff meetings, plethora of agile meetings, and "one on one" meetings with numerous people. I have recently discovered
zk
andzk-nvim
, which has enabled me to migrate from Emacs andorg-mode
to a Neovim /zk
workflow. I'll briefly describe some of my customizations I've made and how it fits into my workflow in case others might benefit.Assumptions
This workflow assumes one keeps all of their meeting notes in a separate folder within their
zk
notebook. I use a folder calledmeetings
to keep all of my meeting notes separate from the rest of myzk
notes. In addition, I have created azk
group for thismeetings
folder with a custom note template (below). The template contains a tag called#meeting
and a title in the form ofYYYY-MM-DD: Meeting Name
.ZkMeeting
I created a new
zk-nvim
command calledZkMeeting
, which will open a Telescope picker that displays the unique names of your meetings—without the prefixed date. So, if you have weekly staff meeting notes with the following titles:2022-10-01: Staff Meeting
2022-10-08: Staff Meeting
2022-10-15: Staff Meeting
Then Telescope will include "Staff Meeting" in a picker window. If you select that item, a new note is opened with that meeting name passed as the title. With the template above, a new note is created that looks like this:
If you are having a meeting for the first time, in the picker, you can type the name of the meeting and press
C-e
, which will create a new meeting note with that name (similar to the behavior on the interactivezk edit -i
on the command line.Here is where I define the
ZkMeeting
command:Here is the relevant part of my
user.utils
module referenced in my command above:If others like this idea, I can try to package it in a plug-in.
Picker for Past Meetings
Another common task I need is the ability to find my notes from the prior meeting. I created a binding in neovim
<leader>-n p
that will open a Telescope note pickers (with preview) for only the meetings with the same name. I.e. "Staff Meeting" in the example above. This lets me quickly review my old notes.Zsh and
zk
autocompletionFinally, I created a
zk
alias calledzk meet
that allows me to create a new meeting note from the command line. To sweeten the deal, I also wrote a zsh autocompletion function, so if I typezk meet <TAB>
a list of all my meeting names is presented.Beta Was this translation helpful? Give feedback.
All reactions