Hacker News new | ask | show | jobs
by zmmz 3224 days ago
For those who want a very similar setup but don't mind the risk of a vim-plugin going unmaintained, I can highly recommend vimwiki. Its a very simple markdown based wiki all within vim. A few features that I find particularly good:

- a 'diary' function that allows you to make a page per day. Vimwiki then produces an index page of all diary entries.

- you can go to your wiki anytime from within vim with a command ( <leader>ww )

- vimwiki can generate html files from yout wiki files

- the coolest thing in my opinon: since the whole thing is just markdown, I actually just use vimwiki as my personal website hosted on github pages. You just have to add some Jekyll related files and github can process everything else as is.

A small note on obselescence: I actually don't even know if vimwiki is in active development anymore. Haven't bothered updating it in maybe 4 years and it works fine. So maybe its fine to not roll your own.

2 comments

+1 for vimwiki. I use it for everything, from taking notes and todo lists to writing blogposts. The wiki format just works so well with my brain.

My favourite features are nested syntax (highlighting for codeblocks in any language vim has highlighting for)

>since the whole thing is just markdown

I was going to write a complaint about how vimwiki uses its own markup language instead of Markdown, but I looked in the help file to be sure and now I you can set it to use Markdown or even Mediawiki instead (vimwiki-option-syntax). I like it even more now!

+1 for vimwiki, though I mostly use it for the diary shortcut (<leader>w<leader>w).

I also use it in conjunction with gollum, which works nicely (gives search, live editing, etc).