Settings

Open Settings with the gear at the top right or Ctrl ,. Every change applies at once and is saved to settings.toml; Reset values restores the defaults.

The Settings window over the editor: the language, the three theme cards and the interface font size. The Settings window over the editor: the language, the three theme cards and the interface font size.

Appearance

SettingDefaultWhat it does
Interface languageAutomaticEnglish or Spanish. Automatic follows your system, English when it is neither.
ThemeSystemLight, Dark, or System, which follows the light or dark mode of your desktop.
Font size (Interface)13 pxThe size of the interface text, 11 to 16.

Editor

SettingDefaultWhat it does
Font size (Text)12.5 pxThe size of the editor text, 10 to 18 in half steps.
Line numbersOnShows the line numbers at the left of the text.
Highlight current lineOnTints the line of the cursor.
MinimapOnShows the minimap at the right of the text.
Tab size4The columns a tab takes, 2, 4 or 8, and the width of an indentation level in spaces.
Insert spacesOnWhether Tab inserts spaces in a new or flat file. A file indented with tabs or spaces keeps its own style.

Files

SettingDefaultWhat it does
Trim trailing whitespaceOnSaving removes the spaces and tabs at the end of every line.
Insert final newlineOnSaving ends the file with a line break.
Exclude.git, target, node_modulesWhat the explorer hides, comma separated, in the .gitignore syntax (*.log, /build). Applied when you press Enter or leave the field. .gitignore files are honored too.

settings.toml

The settings live in a plain text file: ~/.config/ted/settings.toml on Linux, ~/Library/Application Support/ted/settings.toml on macOS and %APPDATA%\ted\settings.toml on Windows. You can edit it by hand while ted is closed; a value ted does not understand falls back to its default, and the rest of the file still applies. Two keys exist only in the file:

  • ui_font and mono_font, the font families, Geist and Geist Mono by default.
  • highlight_max_size_mb, 4 by default: files bigger than this many megabytes are not parsed for highlighting.
  • log_level, info by default: how much ted writes to its log file.
settings.toml
language = "auto"
theme = "system"
ui_font_size = 13.0
mono_font_size = 12.5
line_numbers = true
highlight_current_line = true
minimap = true
tab_size = 4
insert_spaces = true
trim_trailing_whitespace = true
insert_final_newline = true
highlight_max_size_mb = 4
explorer_exclude = [".git", "target", "node_modules"]
log_level = "info"

Found a mistake? Edit this page on GitHub or open an issue.

↑↓to move ↵to open /or Ctrl Kto search from any page