A gloved hand holds a fuel dipstick whose upper half glows green, beside an hourglass of green sand.

A Claude Code Status Line That Tells Me When I'll Run Out

The status line is the one piece of UI I look at every few seconds, all day. So I stopped treating it as a place for a model name and a branch, and made it answer the questions I actually have while I work. Is the context about to compact? Am I burning through my limit faster than the window allows? When does it reset? What has today cost? And what is the weather doing outside? ...

September 27, 2026 · 6 min · 1233 words · Kristoffer Risa

Dotfiles

This page is the front door to my dotfiles. It is written for one reader first: me, the next time I am sitting in front of a machine that does not know me yet. If you are someone else, welcome — take whatever is useful. Everything I care about in a terminal is in that repo: zsh with Powerlevel10k, tmux on a Ctrl+a prefix, Neovim through LazyVim, Ghostty in Catppuccin Mocha, lazygit, a git config that signs every commit, and the settings for the AI agents I work with every day, including a Claude Code status line that gets the bill right. None of it is copied into place. It is linked, so the repo stays the only copy, and a change on one machine is a git pull away from every other. ...

September 23, 2026 · 10 min · 2129 words · Kristoffer Risa
A gloved hand bolts an oversized black key onto the bare face of a dark machine, with a green light in the panel.

Getting Started with Neovim: From Install to LazyVim

Neovim is Vim with the parts that aged badly replaced: Lua instead of Vimscript, a language server client built in, and syntax trees instead of regular expressions. It is still the editor that opens in a terminal in a tenth of a second and does not need a mouse. This is how I set it up on a new machine. I rewrote it the week I set up a new Mac, following it step by step. Every command has a Copy button, and the ones marked Run type themselves into this site’s terminal, so you can see what they do first. At the end there is a checklist that remembers where you got to. ...

December 25, 2024 · 9 min · 1820 words · Kristoffer Risa