- Easy to use as a line editor
awk
bash
less
sed
xclip
You can easily modify the code if you don't need them.
git clone https://github.com/k1s0b3/shed
cd shed
chmod +x shed
./shed
shed v0.0.1 - type ~ for commands, otherwise just start typing
~help
~ represents your prefix, if you changed the prefix use that instead
key: ~command arg1/alt_arg1 arg2 [optional_arg] - what the command does
~about - display about text
~clear - clear buffer
~copy [line] - copy line or whole buffer to clipboard
~correct - replace most recent line (interactive)
~delete line/start [end] - immediately delete specified line or range of lines
~exit - exit shed
~help - display this list
~indent line level - indent a line, negative level will un-indent
~insert line - insert text at specified line (interactive)
~open [filename] - load file into buffer
~prefix [prefix]
~prompt [prompt] - set an input prompt
~replace line - replace specified line (interactive)
~run command - run executable or shell builtin
~runhere command - run executable or shell builtin on buffer contents
~save [filename] - save buffer to file
~search term - perform regex search in whole buffer
~show [start] [end] - display the contents of the buffer
~showhere [start] [end] - display the contents of the buffer inline
~substitute line pattern/replacement - perform regex substitution on specified line
~swap source target - swap two lines
Piping of buffer works well like this if you have softwares like bat
and glow
.
~runhere bat # show current buffer with `bat`
~runhere glow -l # show current buffer (markdown) with `glow`
shed
is heavily inspired by sued
.
It works well and has more features than shed
.