Open CharlesARoy opened 1 year ago
Thanks for all your work in making the Raindrop bookmarks available, it works amazingly and I really appreciate it!
Thanks a lot! Good to know you find this useful :)
For (1), we do support tags but currently it's only available for buku
. I believe the API would already be sending this information so it should be trivial to add.
For (2), there are a few ideas but to give some context the bookmarks are stored in memory while the Neovim instance is running:
VimEnter
.VimEnter
. Maybe we could make it the default option and let user opt-out of it if they want to. This option can be provided in (1) as well.That all sounds great to me!
VimEnter
sounds good. I don't know if there could be any issues if Vim is exited while the cache is being updated though.I created an fzf-raindrop picker that might be of interest. It only makes a single network request to the Raindrop API - to get a single CSV containing every item. This avoids any rate-limits. And by having local access to all the bookmarks, we can do some simple data massaging to enable searching through tags using the #
character (eg. #mytag
).
The picker does not "live" in neovim; personally I bind a global system keymap that launches a floating terminal window running the picker (as seen in the demo video).
Thanks for chiming in! I'll probably take a look at this sometime in this month.
Very cool @thenbe! Storing the bookmarks locally with the option to update them as needed is an excellent approach. The option to search through tags is also very useful. That said, using Telescope as my picker trumps everything else, at least for the time being.
Hi @dhruvmanila ,
Thanks for all your work in making the Raindrop bookmarks available, it works amazingly and I really appreciate it!
After using it for a bit, two ideas occurred to me that might make it even better.
Edit: To help with 2, I did the logical thing and created an autocommand to start loading my bookmarks as soon as Nvim loads -- might be good to mention in the setup docs.