`eh` is a minimalist version of vi(1) supporting UTF-8 and zero configuration.
// readme
Primary Repository https://codeberg.org/SirWumpus/eh
eh(1)
Name
eh - Edit Here - vi(1) the good parts version
Synopsis
eh [filename]
Description
A minimalist version of vi(1). It is an example of the βBuffer Gapβ method outlined in the The Craft Of Text Editing used by many Emacs style editors. (Yep I mixed vi and emacs in the same paragraph; Iβm going to hell for that one.)
Create or read a text file to edit. Text files consists of lines of printable UTF-8 text, tabs, or newline characters. A physical line can be of arbitrary length and is delimited by either a newline or the end of file. Tab stops are every eight columns. The behaviour of non-printable characters may vary depending on the implementation of the Curses library, stty(1) settings, or terminal emulator.
Commands
The commands are similar, but not the same as vi(1). Most commands can be prefixed by a repeat count, eg. 5w, 123G, 2dw (d2w), or 2d3w (d6w). Motion commands, optionally prefixed by a count, are those that move the cursor without modifying the buffer. Some edit commands can be followed byβ¦