Home

Awesome

Zig.tmbundle

TextMate 2 Bundle for Zig.

Install

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone https://github.com/ziglang/Zig.tmbundle.git

Commands

CommandDescriptionKeyboard Shortcut
BuildBuild the current file using zig build-exe.⌘B
RunRun the current file using zig run.⌘R
TestTest the current file using zig test.⇧⌘R

Specifying the zig executable

By default, TextMate will look for the zig executable in the following locations:

If your zig executable is located elsewhere, you can set the TM_ZIG variable to the correct location.