-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration of zot:
link handler
#57
Comments
Thanks for the suggestions. I've added support for I've added the |
Sensible design policy :)
Just tested it, and this now works as expected. I get a useful error message if I don't configure the path, while it works fine (via
Cool! Are you considering integrating this feature with the omni-completion as well? I.e., so one can complete references to papers the same way one completes references to other wiki notes? |
Good idea. Initial support is already added. |
Feel free to open a new issue if you have further ideas or issues with the completion feature. |
Currently, the handler for
zot:
links (Zotero) assumes that:fd
;~/.local/zotero
.The first is e.g. not the case on Ubuntu, where the binary is named
fdfind
to prevent name collision with a differentfd
tool. The second is not actually the default location of the Zotero directory (on my system it defaults to~/Zotero
if I install Zotero manually, and~/snap/zotero-snap/common/Zotero
if I install it viasnap
, so any other choice like~/.local/zotero
has to be configured manually.) Ideally, there should be config options for these: e.g.g:wiki_find_tool
andg:wiki_zotero_root
.If these requirements are not met, trying to follow a
zot:
link inwiki.vim
also fails silently. I think it could be useful with an error message in that case, so the user notices that e.g.fd
is missing.The text was updated successfully, but these errors were encountered: