zettelkasten.nvim icon indicating copy to clipboard operation
zettelkasten.nvim copied to clipboard

Add support for telescope

Open dncnmcdougall opened this issue 1 year ago • 1 comments

Telescope is a popular plugin for fuzey searching. It would be nice to support this.

I propose that three peices of functionality be added*:

  1. Search by title.
  2. Search by tag.
  3. Search by content (This can be implemented by launching a live grep in the note directory.)

How does this sound?

*Three because these are the ones I built in my previous attempts at ta Zettelkasten plugin.

dncnmcdougall avatar Apr 07 '23 12:04 dncnmcdougall

Since I don't use Telescope, it'll be hard for me to have an opinion on what would be appropriate here. As long as it is an optional dependency, you can implement it in the way that you see fit and we can test and merge it. Honestly, if you have a short snippet that would allow what you are describing here, I would prefer to put this in the wiki instead of increasing the size of the plugin. Those three points sound simple enough to me that it should be done in a few lines of code. With FZF, that would be just a few commands stitched together.

Furkanzmc avatar Apr 07 '23 16:04 Furkanzmc