HeadlinesBriefing favicon HeadlinesBriefing.com

Txt: Fast Keyboard-Driven Terminal Text Editor

Hacker News •
×

A fast, keyboard-driven terminal text editor for engineers. Why txt? Most terminal editors demand a ceremony: configuring plugins, learning a modal system, or fighting with setup. GUI editors are powerful but reaching for the mouse breaks your flow. I built txt because switching tools for a quick edit felt like friction. The design principle is simple: editing should feel like thought. The editor opens immediately, keystrokes are predictable and discoverable, and the cursor lands exactly where you expect. No modal confusion, no mandatory configuration, no plugin ecosystem.

txt is not trying to replace your main IDE. It is the editor you reach for when you just need to edit something — and want to stay in the terminal. Features include syntax highlighting via tree-sitter for Rust, Python, JavaScript, TypeScript/TSX, Go, Java, Kotlin, C#, Groovy, Shell, HTML, CSS, JSON, YAML, TOML, Properties, and Markdown; code folding; symbols picker; sticky scope header; Git integration; fuzzy file picker; multi-cursor editing; AST-aware selection; Language Server Protocol; snippets; keyboard macros; marks and jump list; code formatting; .editorconfig support; indent guides; find & replace; file sidebar; mouse-friendly editor; configurable keybindings; file watching.

Install via Homebrew (macOS and Linux): brew tap Erik Hellman/tap, brew install txt. Update with brew upgrade txt. Or use curl on macOS and Linux.