toshism / org-linker

GNU General Public License v3.0
21 stars 4 forks source link

Allow configurable search interface #7

Open toshism opened 1 year ago

toshism commented 1 year ago

There is no real reason to require helm-org-ql for the search interface. It could be configurable like in org-super-links.

hpgisler commented 1 year ago

I second this: it would be nice to have if I could employ the standard completion interface (in my case vertico).

How would I have to adapt org-linker to allow this?

(org-ql-find seems to automatically employ the installed completion framework, no?)

toshism commented 1 year ago

It shouldn't be too bad actually. Just make org-linker-search-interface configurable. it's just a function that accepts a callback. it should call that callback with a marker to the target. so you can get the marker however you want within that function (vertico or whatever).

current helm-org-ql version for org-linker.

could be something similar to how org-super-links sets this up here. (but actually easier)