zk-org / zk-nvim

Neovim extension for zk
https://github.com/zk-org/zk
GNU General Public License v3.0
530 stars 42 forks source link

Add support for 'zk.link' and some example linking commands #97

Closed psanker closed 1 year ago

psanker commented 1 year ago

Adding support for mickael-menu/zk#284

"zk.link" performs the file linking operation that insertLinkAtLocation does in "zk.new" but without creating a new note. This allows users to create new linking capabilities, such as using match to find related notes and creating a link from the found note.

This PR also adds two commands:

Both use the note picker of choice to query all notes to find the desired note to create a link (solves #95)