Hasty Briefsbeta

Bilingual

Txt: A fast, keyboard-driven terminal text editor for engineers

4 days ago
  • txt is a fast, keyboard-driven terminal text editor designed for engineers who spend most of their time in the terminal.
  • It aims to eliminate the ceremony of configuring plugins or learning modal systems, providing immediate, predictable editing without a steep learning curve.
  • The editor opens instantly, with discoverable keystrokes and cursor placement that feels natural, avoiding modal confusion and mandatory configuration.
  • Key features include syntax highlighting via tree-sitter for over 15 languages, code folding, symbol picker, sticky scope header, Git integration, fuzzy file picker, multi-cursor editing, AST-aware selection, LSP support, snippets, keyboard macros, marks and jump list, code formatting, auto-indent, and file watching.
  • The editor supports .editorconfig for per-file settings and offers customizable keybindings with presets for VS Code and IntelliJ IDEA.
  • Installation is available via Homebrew (macOS/Linux), curl script, or from source with Rust 1.88+.
  • LSP configuration is per-workspace and opt-in, with a picker for popular servers like rust-analyzer, gopls, and pyright, and manual editing of lsp.toml for advanced options.
  • txt is dual-licensed under MIT and Apache 2.0, with bug reports and feature requests handled through GitHub issues.