Written with ed

The standard text editor.

ed is the standard text editor. Who needs all the advanced features of vi or vim (or even neovim). ed has all you need!

ed is a line based text editor. There is no "visual" mode. You edit with the all powerful regex! Who cares about seeing what they type?

To begin, open a unix shell and type ed. It is a pretty simple interface (good luck quitting). To start, you should probably enter prompt mode by entering

$ ed
P
* 

The * is the ed prompt. This is where you type all your commands.

Start with a

$ ed
P
* a
Type some text
\.

The . on a single line lets you exit the "append" mode. This mode allows you to add text to a file. Once you're out of this mode you you should print the buffer with ,p (, means the whole buffer)

Read the info page and you should be all set. A lot of the commands aren't too different from vim, which is nice. And if you learn how to edit with regex, you'll be editing like an LLM, so that's cool I guess.

Oh also if you want to quit, use Ctrl+D :).