From 1cd7b77a9f41b93be0e5b3d95cd2c97035728bd4 Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 7 Mar 2023 18:45:42 -0500 Subject: [2.1] update readme --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 235c8fb..71f1fed 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ in other editors. - Multiple tabs, each with a different file - Split screen - Auto-indent -- Syntax highlighting for C, C++, Go, HTML, Java, JavaScript, LaTeX, Markdown, Python, Rust, and TypeScript. +- Syntax highlighting for C, C++, CSS, Go, HTML, Java, JavaScript, LaTeX, Markdown, Python, Rust, and TypeScript. - Find and replace (with regular expressions!) - Run build command, go to errors - Run any shell command @@ -65,6 +65,8 @@ to open the command palette, and select "open-config". There are several section Comments begin with `#`, and all other lines are of the form `key = value`. Strings can span multiple lines and can either be delimited with " or \`. +You can also include files with `%include` (note: the included file must start with a section header). + By default ted's settings will automatically update when you save the config file. The `core` section's settings should be pretty familiar (font size, etc.) or should have comments on the previous line @@ -93,6 +95,26 @@ To reset your ted configuration to the default settings, delete your ted.cfg fil To change the font, create files called `font.ttf` and `font-bold.ttf` in the same directory as `ted.cfg`. At the moment, only monospace fonts are supported. +#### Themes + +At the top of `ted.cfg` you will see a line which includes a theme. +To modify just one color in the theme, you can do something like + +``` +%include themes/classic.ted.cfg + +[colors] +# replace background color with solid red! +bg = #f00 +``` + +but you can also change to a different theme. Currently `classic`, +`classic-light`, and `extradark` are available. + +No matter what you should include a built-in theme (even if you +replace every single color), because more colors may be added to ted in the future, +and you will want them to be set to something reasonable. + ### IDE-like features If you are working in a compiled language, like C, you can press F4 to compile your code. The default is to run `make` in @@ -281,6 +303,7 @@ Then, open windows\_installer\\ted\\ted.sln, and build. 1.3r1 Fixed rust, python syntax highlighting. 2022 Nov 4 1.3r2 Fixed high CPU usage on some devices. 2022 Dec 7 2.0 LSP support and a bunch of other things. 2023 Jan 11 +2.1 Better interaction between path+language specific settings, themes, and other things. 2023 Mar 7 ## License -- cgit v1.2.3