Hacker News new | past | comments | ask | show | jobs | submit login

I adopted vim-wiki a little while ago and have really appreciated its functionality. I like that all files are plain text and located in a single folder. It is easy to reach from anywhere in vim, providing simple means to quickly make a note of todo/diary items during work.

Also, I greatly enjoy that it allows for making local references in between your wiki files. A simple link towards another wiki- or diary-entry allows you to jump to that note. It is not only nice for navigation, but also to explore connections between your thoughts. To understand those connections better, I create a simple script (vimwikigraph [0]) to draw these connections using the DOT language [1].

In that way it is similar to Roam [2] I think, although I have not used it myself.

[0] https://github.com/maxvdkolk/vimwikigraph

[1] https://graphviz.gitlab.io/_pages/doc/info/lang.html

[2] https://roamresearch.com/




Can you describe what you think vimwiki adds over a bunch of markdown files and `gf` for links?


For me it was just structure and ease of use. You can configure vim to make files on specific keypresses to link your diy wiki together, use gf like you mentioned to jump around, make your own auto folding and stuff...

Or you can be lazy and install a plugin that takes thirty seconds to get the hang of.

Actually writing and staying organized has been challenging due to the fact I don't focus well. Spending time recreating vimwiki is time not spent staying organized. Vimwiki has low friction so I use it.


I like the ease of use and I greatly enjoy its diary feature. This provides simple keypresses to open an entry for today or yesterday, without requiring to think about the date. It provides me quick access to make notes and continue my way. Similarly, the creating of new notes, inserting likes, and navigating these links, are made relatively easy with commands provided by vimwiki.

I suppose that it is not that difficult to recreate the basic behaviour of vimwiki with custom commands and navigating with `gf` between your notes. However, for me vimwiki provided an easy way to get started in an environment where these commands were provided out of the box. Since then, I have gotten used to, and somewhat attached, to vimwiki and have kept using it.


gf?


Vim command which opens the filename under the cursor https://vim.fandom.com/wiki/Open_file_under_cursor


Combination of the 'g' command (go-to) and 'f' to mean file. It attepts to open the file at the path under the cursor.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: