Customizing ed(2): Syntax Highlighting and rlwrap Heresy

https://aartaka.me/customize-ed-2.html

Ed is customizable, actually. It can have syntax highlighting, interactive commands, and build/REPL setup. Enter rlwrap.

6 points · 2 comments · view on lemmy.world

2 Comments

Sims@lemmy.ml · 3 pts · 267d (1 reply)

"\C-x(": "s/\([[:space:]]\)\(\(\([[({]\(\([[({]\(\([[({]\([^][(){}]\{0,1\}\)[]})]\)\{0,1\}[^][(){}]\{0,1\}\)[]})]\)\{0,1\}[^][(){}]\{0,1\}\)[]})]\)\{0,1\}[^][(){}]\{0,1\}\)*\)/\1(\2)/n"

YES! Finally something with a manly learning curve ! Enough with all this baby high level programming languages and UI's. ALL computer interaction should preferably be in a random mix of brainfuck and ed(2) ! Maybe with a little regex expressions randomly inserted here and there to keep us sharp ;-)

oshu@lemmy.world · 1 pts · 267d

If you like ed you will love TECO https://en.wikipedia.org/wiki/TECO_(text_editor)