her.esy.fun/src/posts/2019-07-04-static-org-publish.org
Yann Esposito (Yogsototh) 2525d63244
Still progress
2019-07-13 23:30:59 +02:00

2.1 KiB

Static blog with org-mode

This is the first article using my new blog system.

Once in a while, I create a new personal website. A long time ago, I used PHP for my first website. I used include and took care of XHTML pages validation. Then I used nanoc, a ruby static website generator. Then I switched to hakyll because I wanted to switch to a Haskell's written tool. Now I'll try to use org-mode.

Why?

Everything started when I was hired in a place where I was given a terrible keyboard. After a few weeks I started to feel a lot of pain in both my wrists. So I started to go from classical IDE to being able to use vim correctly1.

Then I started to work in Clojure and I heard that emacs might certainly be a better fit for LISP dialiects. But, I couldn't switch to an editor without vim keybindings support because they are so great once you're used to them. By chance it was about the same time that spacemacs appeared and I switched. Is is really impressive how well the vim keybindings are supported. Even most of the advanced vim features I used to use worked like a charm.

The first benefit of emacs is you can configure emacs with elisp. Which unlike vimscript looks like a correct language to work with.

One unexpected benefit of emacs was org-mode. I always heard good things about it but it took me a while to really get it and to understand why it is so great.

If you don't know anything about org-mode, it is many things. First imagine a Markdown but more TODO list oriented. But along with this, emacs has a lot of helper functions to work with those org-mode files.

One real game changer is org-capture. You can add a task quite easily while doing other work in emacs.


1

I wrote this article to help people use vim: learn vim progressively