esc
Externally Scriptable Editor
git clone git://mccd.space/esc
| Log | Files | Refs | README |
commit 487cd1c5b2af8fe642b9003ea08241a7a8ae243a parent bc7caf758198f2df4a8b542b73c7734a78f2a12d Author: Marc Coquand <marc@coquand.email> Date: Fri, 20 Feb 2026 12:26:30 +0100 * Diffstat:
| M | README.md | | | 14 | +++++++++++--- |
| M | main.c | | | 2 | +- |
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
@@ -1,6 +1,14 @@
# ⎋ Esc
-Esc (**E**xternally **Sc**riptable Editor) is an extensible editor written in C.
+Esc (**E**xternally **Sc**riptable Editor) is an extensible editor written in C
+
+## Goals
+
+* Support image rendering
+* Support OSC escape codes
+* Good plumbing capabilities
+* Minimal aesthetics
+
## Dependencies
- SDL3
@@ -27,7 +35,7 @@ Esc is heavily inspired by
Emacs is also an extensible text editor that uses Lisp as it's main language. They both feature very customizable buffers, however they take slightly different approaches.
-Emacs is self-contained, and thus is more portable. Esc tries to be an *integrated* editor, and as a result tries to work better with existing CLI tools and more.
+Emacs is self-contained, and thus is more portable. Esc tries to be an *integrated* editor, and thus it is extended by communicating with external tools. You can extend Esc with any language you want by communicating to it via IPC.
### Kakoune
@@ -35,4 +43,4 @@ Kakoune used to be my main editor. It is great.
However, because it is intended to run in a terminal, it has quite a few limitations. It will probably never render images for example.
-Esc also is mouse friendlier.
+Esc is also more focused on using a mouse for selections.
diff --git a/main.c b/main.c
@@ -22,7 +22,7 @@ int main(int argc, char *argv[]) {
TTF_Init();
SDL_Window *window = SDL_CreateWindow(
- "ei", 800, 600,
+ "esc", 800, 600,
SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIGH_PIXEL_DENSITY);
SDL_Renderer *renderer = SDL_CreateRenderer(window, NULL);
SDL_SetRenderLogicalPresentation(renderer, 800, 600,