Distro News

TTT: A GUI-like terminal text editor with LSP and multi-cursor support

Key Takeaway

TTT is a terminal-based text editor designed to provide a modern, GUI-like experience similar to VS Code without the complexity of modal editors.

Summary

TTT is a new terminal text editor that aims to bridge the gap between traditional terminal editors like Vim and graphical editors like VS Code. It features built-in syntax highlighting for over 120 languages, multi-cursor editing, and robust mouse support including context menus. The editor also supports the Language Server Protocol (LSP) for intelligent code completion and multi-folder workspaces.

Technical features of TTT

  • Uses textmate-go (a Go implementation of Microsoft's TextMate engine) for syntax highlighting.
  • Supports over 120 languages out of the box.
  • Includes multi-cursor editing via Ctrl+D and Alt+Click.
  • Provides LSP (Language Server Protocol) support for auto-completion.
  • Features mouse support including cursor positioning, text selection, and right-click context menus.
  • Supports multi-folder workspaces that can be saved as .ttt files.

Why it matters

TTT offers a non-modal alternative for users who want the efficiency of a terminal environment without the steep learning curve of Vim or Neovim.

Original reference: feed.itsfoss.com →