led, the LDPL Text Editor, is a line text editor written in LDPL, inspired by the ed and sed text editors, but friendlier!
Clone this repository using the -r flag to also clone dvkt's wonderful ldplnoise library, cd into the cloned led repository and run ldpl led.ldpl -o=led. Done!
You can download pre-compiled binaries of led for amd64 Linux from the releases section of this repository.
Run led <file> to open <file> and edit it. Alternatively you can just run led to create a new, empty file.
led has working two modes, command mode and append mode. When in command mode, all text entered is interpreted as a command.
When in append mode, all text entered is appended to a buffer. To exit append mode, enter a line with just a dot in it
(.).
hshows this command list.llists the contents of the buffer.l <from>lists the buffer from line<from>.l <from> <count>lists<count>lines from the buffer from line<from>.aenters append mode.a <from>enters append mode and appends text to the buffer at line<from>.d <line>deletes line<line>from the buffer.d <from> <count>deletes<count>lines from the buffer from line<from>.is file information.qexits led.cclears the screen.ssaves the buffer to a file.nchanges the name of the destination file.r <line>allows retyping of line<line>.
led was created by Lartu and is released under the GPLv3 license.
