Twig

A small code editor for Linux.

Twig is an ultra-minimal GTK editor. No toolbar or menu bar—just code.

Twig editing a short Python file in a dark editor window
Twig editing app.py

Features

  • Syntax highlighting
  • Line numbers
  • Find & replace
  • Undo & redo
  • Auto-indent
  • Dirty indicators
  • Jump to line
  • Print support

Keyboard shortcuts

Ctrl N / Ctrl TNew window
Ctrl OOpen files
Ctrl S / Ctrl Shift SSave / Save as
Ctrl WClose window
Ctrl PPrint
Ctrl QQuit
Ctrl Z / Ctrl Shift ZUndo / Redo
Ctrl X / Ctrl C / Ctrl VCut / Copy / Paste
Ctrl ASelect all
Ctrl DDelete line
Ctrl F / Ctrl RFind / Replace
Ctrl G / Ctrl Shift GFind next / Previous
Ctrl JJump to line
Ctrl + / Ctrl −Increase / Decrease font size
Tab / Shift TabIndent / Unindent