Closed celsobenedetti closed 4 months ago
Hey, sorry for a slow reply! Thanks for the PR.
Sorry if I'm misunderstanding, but ZkInsertLink
already functions like this. It brings up the note picker via telescope (same as ZKNotes
). Selecting the note via Telescope then inserts the link at the cursor position. From my understanding that functionality is what you're trying to create with this PR?
This pull request has been automatically marked as stale because it has not had recent activity.
closing for now. @ ping me back if you'd like to revive.
Hello, I'd like to get some feedback on this feature. I'm creating this as PR rather than an issue since I already had some code for it from local experimenting.
Description
The idea is to add a new mapping for the Telescope picker for the
ZkNotes
command. This mapping (<C-l>
) will create a link for the selected note under the cursor.The behavior is equal to the
ZkInsertLink
command, but added as a utility for theZkNotes
commands.Motivation
The
ZkNotes
command is the "main" command in my workflow. Thinking in terms of Zettlekasten, I often use it to check for any existing notes related to the context I'm currently writing about.This is a quality of life feature for making the
ZkNotes
command even more useful.This was inspired by obsidian.nvim, which provides this very feature through the
ObsidianSearch
command.