This is based on assumptions about the format of a Simple Markdown Zettelkasten, which is itself based on @ctietze's work
Vim is an editor on top of the shell. Following the unix philosophy as best as I can, if I write a shell script that can allow me to search and manipulate my files, then vim integration should be easy.
To use smz
, you are going to need to export SMZPATH
somewhere in your shell
to tell it where to look.
id Generate a Zettelkasten timestamp
Borrowing from "Add Identity", we need a way to generate a unique ID based on the current date.
We are simply using the built-in: date +"%Y%m%d%H%M%S"
.
s|search [--tags] PATTERN Find notes with content matching PATTERN"
f|find PATTERN Find notes with name matching PATTERN
b|backlinks TARGET Find backlinks referencing TARGET
- fd
- rg