zk
zk copied to clipboard
Feature request: Wiki links by title
I interchangeably edit my notes with neovim and with NotePlan depending on context and machine. But NotePlan makes wiki links based on a note's title. With zk, I can choose a note by title, but reference only by path and filename, which leads to a bunch of link errors and makes me have to type the title of a link to get to it. In a perfect world, zk would do the same title or filename search on wiki-style links as it does when I use :ZkNote to find a note. And ideally there'd be an option to put in the title instead of the path/filename when choosing a note to link to so I can have [[To Pack]] instead of [[wiki/personal/to-pack]] with virtual text with the title beside it. The title syntax is just a bit easier to scan.
This used to be possible but I removed it because it was pretty fragile and broke some other features in the notebook index.
I'll consider adding it back with a stricter matching (exact note title).
In the meantime, you can use the 0.10.1 if you really want this feature. To have [[To Pack]] when inserting links, you can use this config option:
[format.markdown]
link-format = "[[{{title}}]]"