Skip to content
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

ZettelInbox indiscriminately adds all zettels to the page #115

Open
gddgddg opened this issue Oct 16, 2021 · 3 comments
Open

ZettelInbox indiscriminately adds all zettels to the page #115

gddgddg opened this issue Oct 16, 2021 · 3 comments

Comments

@gddgddg
Copy link

gddgddg commented Oct 16, 2021

Instead of just adding zettels that aren't linked to, all zettels are added with the ZettelInbox command, even ones with bidirectional links. I've just tested this with two different directories in both the wiki and markdown formats and it happens with both. I'm running the command in the inbox/index file, an empty file that serves the purpose of being an inbox so I can (supposedly) work with unlinked zettels and link them.

@kuddai
Copy link

kuddai commented Nov 29, 2021

Same issue as described above.

@kuddai
Copy link

kuddai commented Nov 29, 2021

Hm, reading source code (comments were super useful) helped a bit.

It seems that it starts from index file as root of tree. I had two test zettels A and B. A was listed in index. B appeared in :ZettelInbox. Then I added link to B in A, and :ZettelInbox become empty.

@michal-h21
Copy link
Owner

@gddgddg Hi, sorry for the late reply. I am slowly going through old issues. The :ZettelInbox command uses internal Vimwiki command that detects files that are not reachable from the index file. You can open the index file using :VimwikiIndex command. All notes should be reachable from this file. I've updated the documentation about this fact, I hope it will be more clear now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants