My kick has reached some kind of logical conclusion in the form of cielagonote.
This morning I started off with a zsh wrapper around fzf and nb for finding and editing notes. nb is fine and all, but I really like the sort of speedy narrowing you get from something like deft or other members of the Notational Velocity family tree.
So I was looking for something to wrap around nb to keep taking advantage of its git syncing and a few other features, but also warily eyeing too much dependence on it. If the Giant nb-Eating Space Goat were to pull into orbit tomorrow, I would want to simply watch it magestically devour nb, then have a quick way to write a note about my impressions of the experience without accidentally naming that note the same as another about a similar experience.
So you just get the basic “fuzzy-searchin’ notes” thing:
- Start typing
- full-text search narrows your options
- Hit return to pick one and start editing or ^n to make a uniquified duplicate title for whatever reason I was worried about that.
It doesn’t do deleting or other management (yet).
There’s a config file:
notes_dir: ~/notes
default_extension: org
exclude_dirs:
- denote_archive
- .git
hide_hidden: true
editor: nb edit
If you set your editor to nb edit
you can be assured your stuff is getting synced. Pick something else and it’ll just manage a directory of notes.
hide_hidden:
just means “no dotfiles.” exclude_dirs
means what it says.
One thing I probably ought to do is ask what file extensions you’d like to see. Since this is for me, it just has .org and .md hard-coded.
Down here way under the fold, probably also good and proper to note that this was mostly me fumbling around and getting help from ChatGPT. I knew the pieces I wanted to glue together, and I knew how I wanted it to behave, but it took a lot of prompting and nagging. And it’s not a new idea. I just couldn’t find anything that did exactly what I woke up imagining in a terminal.