The Common Text Editor

The only editor you'll never need

back


The Common Text Editor is a text editor that is written in Rust. It uses a binding scheme that is a mixture between Emacs, Vim, and my own made up ones. It's a great improvement over older iterations (such as actually reassembling a real editor) but still nothing incredible.

The previos version was a pretty dated looking project, and was a buggy mess too. This new version, while not fully production quality, fixes a lot of the bugs and quirks that the old project had (even if it required a rewrite to do so). Two biggest improvements were removing a bug where the entire thing flickered during terminal redraws (every keypress), and adding actual cursor movement, not just an input buffer. The first one was a side effect of the terminal drawing abstraction layer that I made, and was fixed by just becoming better and using raw crossterm. The second one could only be classed as ignorance, since at the point I wanted to add the actual editing part of the editor, the file content drawing function was one big messy fix, which made adding editing the way I wanted to pretty hard. This was fixed by just getting better.


Usage:

Features:


Bindings:


Config options