gitwtfhub

wtf is moka.hx?

ra77a3l3-jar/moka.hx — explained in plain English

Analysis updated 2026-05-18

17SchemeAudience · developerSetup · moderate

TL;DR

A fully configurable statusline and bufferline plugin for the Helix editor, styled entirely through Scheme configuration with no hardcoded look.

Mindmap

mindmap
  root((moka.hx))
    What it does
      Configurable statusline
      Configurable bufferline
      No hardcoded styling
    Tech stack
      Scheme
      Helix editor fork
      Steel plugin system
    Use cases
      Custom statusline layouts
      Theme recreations
      Bufferline styling
    Segments
      Mode file lsp
      Git branch position
      Diagnostics upcoming
    Config
      init.scm
      moka-configure!

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Build a custom Helix statusline showing mode, file, git branch, LSP status, and cursor position.

REASON 2

Recreate a popular editor color theme's statusline look, like Nord or Tokyo Night, in Helix.

REASON 3

Style a bufferline with rounded, angled, or flat tab shapes to match a personal setup.

REASON 4

Learn how Scheme-based configuration can drive editor UI styling in the Helix plugin fork.

What's in the stack?

SchemeHelix EditorSteel

How it stacks up

ra77a3l3-jar/moka.hxcristiancmoises/securityops-osrofrol/guix-qemu-adventures
Stars1731
LanguageSchemeSchemeScheme
Setup difficultymoderatemoderatehard
Complexity4/54/5
Audiencedeveloperdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires a plugin-enabled Steel fork of Helix, not stock Helix.

Wtf does this do

moka.hx is a fully configurable statusline and bufferline plugin for the Helix text editor. Rather than offering a fixed set of preset looks, everything about it, including which sections appear, what segments go in them, colors, shapes, and spacing, is defined by the user in their own configuration file, with nothing hardcoded into the plugin itself. It only works with a specific plugin-enabled fork of Helix, since Helix does not normally support this kind of scripting. Installation goes through a package manager called forge, and after installing, a user requires the plugin and calls a configure function inside their init.scm file, describing sections such as the current editing mode, open file, active language server, git branch, and cursor position, arranging them on the left or right side of the statusline. Each individual segment, like the mode indicator or file name, can be styled independently with its own foreground and background color, a shape, either rounded, angled, or a flat block, and a gap controlling the spacing before the next segment. The README shows several complete example configurations recreating the look of well-known color themes such as Nord, Tokyo Night, Rose Pine, Gruvbox, and Catppuccin, both for the statusline and for the separate bufferline that shows open file tabs. The bufferline supports the same styling options for active versus inactive tabs. The plugin can be turned off at any time to restore Helix's default statusline. The project notes that diagnostic icons are planned for a future update pending a change landing in the underlying Helix fork, and it mentions a known display conflict with a separate file explorer sidebar plugin from the same author.

Yoink these prompts

Prompt 1
Explain how moka.hx lets me configure a Helix statusline entirely from init.scm.
Prompt 2
Walk me through installing this plugin with forge on the Steel-enabled Helix fork.
Prompt 3
Show me how to recreate the Tokyo Night example configuration from this README.
Prompt 4
Help me understand the difference between the statusline segments and the bufferline styles here.

Frequently asked questions

wtf is moka.hx?

A fully configurable statusline and bufferline plugin for the Helix editor, styled entirely through Scheme configuration with no hardcoded look.

What language is moka.hx written in?

Mainly Scheme. The stack also includes Scheme, Helix Editor, Steel.

How hard is moka.hx to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is moka.hx for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.