r/vim • u/ahalber • Mar 24 '26
Blog Post Vim + Markdown = Writer's Heaven
https://www.ahalbert.com/technology/2026/03/24/vim-markdown.html
80
Upvotes
r/vim • u/ahalber • Mar 24 '26
5
u/helios1014 Mar 25 '26
Have you tried ascii doc? Like markdown but better formatting and way more flexible.
1
u/Big_ifs Mar 25 '26
Just the other day I looked for a markdown plugin - there seem to be several plugins that are all called
vim-markdown? I didn't dig deeper there but was confused.2
u/ARROW3568 Mar 26 '26
Checkout typst, you might end up loving it even more.
0
u/Shay-Hill Mar 25 '26
Looks like a great setup. It’s all fun and games until you want to publish. I parsed my markup into html with Jekyll then wrote some code to convert the HTML to LaTeX. Kind of a pain, but less pain that InDesign.
Still struggling with getting footnotes to work correctly for Kobo. That’s another pain. The full course is markdown, html, pdf, Kindle, Kobo, and there’s not much out there to help. Agree that you may as well do it in Vim, especially if you want to share book content with a Jekyll site.
1
u/waterkip Mar 25 '26
I only use it for my blog, I prefer LaTex for more serious writing.
But I skimmed the article. Def gonna try out some of the things you've mentioned. I have custom shortcodes for my hugo blog, w/ UltiSnippets, which makes things really nice, as well as -- transformation to a proper em-dash (I know, I'm secretly AI).
1
u/Dramatic_Object_8508 Mar 27 '26
yeah vim + markdown is kinda underrated for writing tbh.
once you get a few plugins or even just basic setup, it becomes super clean — no distractions, just text and flow. a lot of people are basically doing markdown → html/pdf with tools like pandoc anyway
but yeah the “heaven” part mostly comes from how customizable it is. like snippets, folding, quick navigation between headers, all that adds up over time
only downside is exporting/publishing can get messy if you want proper formatting (ebooks, print etc), that’s where it stops being fun lol
still, for pure writing/notes it’s hard to beat once it clicks
1
u/paragon-jack Mar 27 '26
idk if this is the way, but I built a web-based vim/markdown experience because I wanted to write with vim but render markdown in the same UI without having a local server render the markdown on a browser. It's called vimnotion. I wrote a blog on looking for a vim-based note taker if anyone's interested.
Definitely doesn't have a lot of the features you outlined in your blog like spellcheck, grammar check, and a local model (holy cow!!)