ed

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 7b6ed21d03251b861d697e141535ed73a52cff79
parent 9caf5c8ebc2dd02d4fd0574c6936ab6bf295337a
Author: thing1 <l.standen@posteo.com>
Date:   Fri, 17 Oct 2025 21:23:54 +0100

added todo

Diffstat:
MTODO.md | 30++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+), 0 deletions(-)

diff --git a/TODO.md b/TODO.md @@ -1,3 +1,33 @@ +next +---- - add a shell, it should work by switching on the cmd - to read the input it should use get line +commands +-------- +i[/text] +a[/text] +- these should insert text above or bellow the cursor, if no text is given, read until a '.' like in ed + +s/re/sub[/flags] +- substituion via regex, flags should be 'g' for global, and 'r' for reverse (does the last match) + ++[/distance] +-[/distance] +- moves up and down in the file by distance + +f/re[/flags] +- finds the next regex, flags can be r for reverse + +w[/name] +- write to the file name, if not given use the currently open file + +q +- quits the program + +S +- prints stats about the file, the size, location, and if its dirty + +later +----- +make the program comunicated over a tcp socket and make a client server for it