-
Notifications
You must be signed in to change notification settings - Fork 66
Questions: Converting from Obsidian #298
Description
I've been trying to switch off of Obsidian for a while, because the CLI is just that great and Obsidian keeps freezing when larger files (>3000 words) are open. This is the only offline software I've found that comes close without requiring having to learn emacs or waiting for a zim update (kudos!).
I've read some issues that have been opened with other folks looking to roll off of Obsidian and have noted that you have not used it. I'm going to attempt to explain what I can with Obsidian for what I think is relevant to my questions.
Some Background
When I compare my usage of Obsidian to wiki.vim, there are a few "costs" to switching:
- Database of links.
- Whether you have a flat file structure or if you have a hierarchy of files, Obsidian tracks all of the file names within your "vault" (their term for essentially a wiki root; they have an
fzftype of file viewer to find and open files within that root). - Let's say I have a file
foo.md, and I want to link to or edit the filefoo.md. No matter what my current working directory is, if I tell Obsidian to open the filefooor to link to it, then Obsidian will open/link tofoo.md.1 - Thus if I create a link in
/A/bar.mdor/B/bar.mdtofoo.md(without specifying the directory) Obsidian automatically goes tofoo.md. For simplicity's sake, I would call this one file of namefoo.mdper hierarchy. These links are written in a wiki link syntax of[[foo]]. - If there are multiple
foo.mdfiles within the wiki root (e.g., index.md), Obsidian appends the fewest number of directories required to differentiate the two. - The obvious difference is that wiki.vim would see these as being two different
foo.mdfiles, one underAand one underBunless I append a path in the file link.
- Whether you have a flat file structure or if you have a hierarchy of files, Obsidian tracks all of the file names within your "vault" (their term for essentially a wiki root; they have an
-
Being able to tab complete filenames as you type.
- This really helps to speed things up when filenames are long or if you aren't quite sure where a filename is located.
- This would, in my opinion, even let me obviate the need for the one file per hierarchy paradigm noted above—as then I wouldn't have to remember where I stored something!
- Because I have multiple files of the same name (i.e., not just
index.md), this prevents me from using a flat hierarchy. - Obsidian handles this by opening an fzf-type of file finder within the
[[]]when typing.
-
Links to Headings
- If
foo.mdhas a heading# Xyz, you can link to it with[[foo#Xyz]] - This is nice for not having to repeat content or specifying a part of a file to link to
- If
-
Seamless automatic link updating (related to the above)
- This is probably made possible by the database of filenames in the wiki root.
- When I tried to use the wiki.vim link update function, I must have done something wrong as I lost data.
Question (or Issue)
The reason I am opening this issue up is to ask if:
- Obsidian-style relative links (one file of name
foo.mdper hierarchy) are possible; - if tab completing filenames within wiki.vim could be possible in the future (inline fzf and complete?);
- and if links to headings could be possible in the future.
(And help with the automatic link updating! haha)
I saw the 0.6 update and was wondering if the link_url_parser might be able to accomplish the relative-style linking.
I ask if the other two are possible because I can either then learn vim script or know if this is something I have to be okay losing, and thus update my notes.
Thank you for making this software publicly available!
Footnotes
-
Obsidian defaults to markdown and hides the file's extension by default as it assumes all are markdown; plugins are required for other files, except pictures and PDFs can be viewed within the program. ↩