Comments (4)
Thanks for the suggestions. I've added support for fdfind
and also find
as a fallback. I try to avoid options if possible, so I'll not add he g:wiki_find_tool
option for now.
I've added the g:wiki_zotero_root
option with default setting ~/.local/zotero
. The scheme handler should now give a more detailed error message if it fails. It will also display a menu if more than one match is found. This is also useful as a feature to e.g. find papers by a given first author (e.g. I can use zot:lervag
to easily list all my publication where I'm first author and choose which to open).
from wiki.vim.
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.
from wiki.vim.
I try to avoid options if possible
Sensible design policy :)
I've added the g:wiki_zotero_root option with default setting ~/.local/zotero. The scheme handler should now give a more detailed error message if it fails.
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 fdfind
) if I set the new config option g:wiki_zotero_root
.
It will also display a menu if more than one match is found.
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?
from wiki.vim.
Feel free to open a new issue if you have further ideas or issues with the completion feature.
from wiki.vim.
Related Issues (20)
- Possible to use one prefix to delimit a line of tags? HOT 3
- WikITocGenerate for more filetypes HOT 3
- WikiJournalNext / WikiJournalPrev navigate out of journal folder HOT 7
- Backlinks don't update immediately HOT 16
- WikiExport: cmd should use double quote under windows HOT 18
- How can g:wiki_export be configured to support HTML, docx, and PDF? HOT 4
- Using custom resolver breaks WikiJournalNext/WikiJournalPrev HOT 10
- Disabling default mappings might be broken HOT 2
- Provide dictionaries containing default mappings HOT 6
- Enhancement request for WikiJournalIndex: reverse order and update HOT 3
- Is it possible for wiki-link-types to support jumping to Vim help? HOT 7
- WikiTags can't work under gvim 9.1 or neovim 0.10 + win 10 pro HOT 19
- Infinite loop on template rendering if function starts at index 0 in template file HOT 1
- HTML text objects are overwritten by text objects for link texts HOT 3
- WikiLinkAdd in visual mode HOT 12
- Add completion source for `:WikiOpen` HOT 3
- List index out of range for `wiki#graph#find_backlinks` HOT 5
- Delay in `<leader>wgb` or fetching backlinks after `<leader>wr` or file rename HOT 1
- Suggestion: Enabling closing parenthesis in `markdown` link HOT 1
- [REQ] transform TOC url HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wiki.vim.