Skip to content
Projects

About

A fast, mouse-friendly code editor for your terminal.

Developer Tools

How these counts are measured

What you can do

  • Command palette One box for files, > commands and settings, @ symbols, # tabs, : lines and % text in every file. - Language servers Documentation on hover and go to definition with ctrl + click.

Measured star growth

in 24h
Collecting history
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

tie

A fast, mouse-friendly code editor for your terminal.

Latest release Tests Go version License: GPL-3.0
Platform: macOS Works best in Ghostty and cmux

Typing "tie ." in a terminal, opening foo.go from the explorer, then switching the syntax theme from the palette

tie is an IDE for people who live in the terminal but don’t want to learn Vim. Tabs, a file explorer, autocomplete, go to definition and the rest of the basics work out of the box, all with mouse support. One small binary, nothing to configure.

Features

Command palette

One box for files, > commands and settings, @ symbols, # tabs, : lines and % text in every file.

Opening foo.go from the palette, setting the tab width to 8 so its indentation widens, then jumping to Greet with @

Language servers

Documentation on hover and go to definition with ctrl + click.

Hovering Greet with the mouse for its documentation, then ctrl+clicking to its definition in foo.go

Suggestions

Suggestions with signatures and snippets as you type, alongside syntax highlighting, word wrap, undo/redo, find and mouse selection.

Typing bar. to list its functions with their docs, accepting Longest, then filling in its argument with the signature shown above

Problems

Errors and warnings in the gutter, at the end of the line, and as counts on tabs, the explorer and the footer.

Calling an undefined function in main.go gives an error and a self-assignment in bar.go gives a warning; both show in the gutter, on the tabs and in the explorer, and hovering the warning shows its message

Explorer and tabs

File icons, git status, problem counts, live updates and right-click actions; tabs drag to reorder and open as previews.

Clicking folders open, opening bar.go, then creating notes.md from the right-click menu

Git

Changed lines in the gutter, the branch in the footer, and the diff of the current file.

Editing foo.go, saving from the File menu, then opening its diff from the View menu

Themes and settings

Syntax themes apply live while you browse them, and every keybinding can be changed from the same panel.

Opening settings from the File menu, previewing syntax themes by hovering the dropdown, then the Suggestions section

Previews

Markdown and JSON open rendered; images, GIFs and SVG show inline.

Opening README.md rendered with its image, switching between code and preview from the tab bar, then opening logo.png

Install

[!WARNING] tie currently supports the Ghostty, cmux and iTerm2 macOS terminals. Other terminals might not work as expected yet, but support will expand.

Prebuilt binary

mkdir -p ~/.local/bin && curl -fsSL "https://github.com/haris-rancevas/tie/releases/latest/download/tie_Darwin_$(uname -m).tar.gz" | tar -xz -C ~/.local/bin tie

This downloads the latest release for your Mac into ~/.local/bin. File icons work out of the box in Ghostty and cmux; iTerm2 needs a font first.

From source

You need Go 1.27 or newer.

tmp=$(mktemp -d) && git clone --depth 1 https://github.com/haris-rancevas/tie.git "$tmp" && make -C "$tmp" install; rm -rf "$tmp"

This builds tie in a temporary folder, puts the tie binary in ~/.local/bin, then removes the folder. Add BIN_DIR=/some/dir after install to install somewhere else.

Icons

File icons come from Nerd Fonts. Terminals that cannot draw them get plain symbols instead. Restart tie after changing a font.

Terminal What to do
Ghostty, cmux Nothing, they ship the icons.
iTerm2 Run brew install --cask font-symbols-only-nerd-font, then in Settings → Profiles → Text tick Use a different font for non-ASCII text and pick Symbols Nerd Font Mono. Your text font stays as it is.

Optional extras

Autocomplete, errors and go to definition come from language servers. tie starts the right one when you open a file:

If one is missing, tie prompts you to install it.

Getting started

Open the current folder:

tie

Open another folder:

tie ~/code/project

Shortcuts match desktop IDEs, with ctrl instead of cmd. See them all in Settings → Keybindings.

Configuration

Settings live in ~/.config/tie/. The settings modal writes them for you; see docs/configuration.md to edit them by hand.

Media files

Images, GIFs and SVG open in their own tab in Ghostty and cmux. In other terminals the tab shows the file's type and size instead. Images inside rendered Markdown also show in iTerm2. Videos aren't played in any terminal. Media files over 1 MB don't open, to keep tie quick. Other files open as text when tie knows their format; anything else says its format isn't supported.

Images and SVG GIFs Images in Markdown
Ghostty ✓ ✓ ✓
cmux ✓ ✓ ✓
iTerm2 ✓

Credits

tie is built on Bubble Tea, Bubbles and Lip Gloss for the interface, Glamour for Markdown, Chroma for syntax highlighting, Nerd Fonts for icons, fsnotify for live file updates, sahilm/fuzzy for palette search and suggestions, oksvg for SVG and friendly-snippets for snippets.


tie

Report a bug · Request a feature · Contribute · Releases

Released under GPL-3.0.

Explore related projects

Loading…