discord-ed
Ever wanted the powerful features of ed, the standard UNIX editor, on Discord? Now it's possible.
DISCORD-ED(1) USER COMMANDS
NAME
discord-ed - line-oriented text editor for Discord
DESCRIPTION
discord-ed is a line-oriented text editor that opeates in a Discord
channel. When active it captures all channel input. Inspired by the ed
line-oriented text editor on Unix.
USAGE
By default you're in command mode which takes the following commands:
a - enter input mode (see below)
Q - exit discord-ed
p - print the last line in the buffer
d - delete the last line in the buffer
,p - print all lines in the buffer
,d - delete all lines in the buffer
xp - where x is a number, print x line in buffer
xd - where x is a number, delete x line in buffer
Input mode is how you insert text into the buffer, any input will be
captured and inserted into the buffer. Exit input mode by inputting a
single period character:
. - exit input mode and enter command mode
EXAMPLE
$ ed
# discord-ed session started!
a
hello
world
.
,p
hello
world
1d
,p
world
Q
# discord-ed session ended!