Skip to content

Instantly share code, notes, and snippets.

View redbaron's full-sized avatar

Maxim Ivanov redbaron

View GitHub Profile
@mystor
mystor / config.toml
Last active May 28, 2026 09:43
jj git-index diff editor (v2)
# This diff editor uses the state of the git index (staged files) to edit the diff.
# This gives an effect similar to `git commit`, which can be useful due to tooling
# often being high-quality for using the git index to split up changes.
#
# This tool is designed to be used with the commit, split, and squash commands.
# This is made easier with some aliases. A custom merge-editor definition is unneeded.
#
# LIMITATIONS:
# 1. jj doesn't allow a diff editor to edit files which are only changed in the index,
# and unchanged in the working copy, those will be discarded.
# Dwarf Fortress Premium on Mac (Apple Silicon) — Full Setup Guide
**Tested on:** MacBook Pro M1 Pro, macOS Tahoe 26.3, GPTK 3.0
**Last updated:** March 2026
**Result:** Full game with audio, world generation, and gameplay working
The Steam Premium version of Dwarf Fortress has no native Mac build and the devs have cancelled macOS plans. This guide gets it running on Apple Silicon Macs using Apple's Game Porting Toolkit (GPTK) — no CrossOver, no Whisky (discontinued), no paid software needed.
---