Adding a live word count to the modeline

Yesterday, I decided I wanted a live word count in my modeline. Specifically for when I’m editing Markdown files. I hadn’t touched the modeline, or any KakScript, in quite a while, so I wrote this all out as a blog post for myself. Hopefully, this will help me keep some of this stuff in my head a little longer. And maybe someone reading this will also find it useful.

If you have any feedback or criticism on the blog post, I welcome it. Here’s the link:

https://benjaminwil.info/weblog/kakoune-modeline-word-count/

1 Like