3 comments

[ 3.6 ms ] story [ 14.9 ms ] thread
why not sed & setting emacs style key bindings in given shell sed is being run from?
This editor works like a screen editor where you can move around the entire file using arrow keys and perform edits like Emacs/Vim.

I believe tools like sed/ed are necessarily line-oriented. A long session in a line-oriented editor like ed would create a large amount of scrollback in the terminal.

emacs-bindings to run alias/macros of sed script(s) that perform equivalent emacs functionality would allow for editing/manipulating a given file(s) without displaying file to screen (unless requested).

Not user interactive friendly though.