Open folofjc opened 2 years ago
I did a test. I used :NV
to search for a file in another wiki, then I yanked it from Notational-FZF. Then I pasted it into my wiki, and tried to do gZ
on it. It made it a link, however it assumed that it was in the current directory, so the link did not work.
So this will not work as a workaround.
I have multiple wikis. Only one of them is really a zettelkasten, but I like to use some of the features of
vim-zettel
in the others. I havelet g:nv_search_paths =
to the parent directory that contains the directories of each of my wikis. When I do:NV
and search, it searches through all the wikis (which is what I want).However, when I try to link to a file using
[[
or:ZettelSearch
, it only searches the current directory.There is a comment in the doc here that looks like this was intentional (however, the issue that it is linked to appears to be something else).
If it is desired that
:NV
and:ZettelSearch
do two different things, that is fine. But how can I insert a link usingg:nv_search_paths
instead of the current directory?