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

Emulate `zk list -i` / `zk edit -i` in nvim #123

Closed Joelius300 closed 1 year ago

Joelius300 commented 1 year ago

Thank you for zk-nvim, it's a great extension to zk.

I've been using :ZkNotes and live-grep in the zk_root to find but neither are as ergonomic as zk list -i. Is there a way to emulate this?

I would love a zk list -i-like picker in nvim that

AFAIK this is all functionality available in zk list -i

One additional feature that I would love is to be able to write #ADML and it automatically filters for the tag ADML.

I think this is achievable by using something like telescope.nvim, sending the input to zk match in the appropriate format (after debounce), collecting the results, transforming them into something that works for telescope's listing and preview and done. \ This would allow to prompt with all of the available filtering options.

Unfortunately, I don't know how to do that but I imagine I'm not the first to think of this. Is this a desirable feature for zk-nvim and/or does anyone have any pointer on how to implement this?

Relevant issues: #73 #68