A screen text editor written by Bill Joy in 1976 and commonly available on Unix and Linix systems today.
command
h (left), j (down), k (up), l (left), 0 (beginning of the line), $ (end of the line)
i - insert at cursor (escape to stop)
x - delete a character
D - delete to end of line
dd - delete entire line
dw - delete word
u - undo last chage
U - undo all changes on this line
[n]G - Goto end of file [n:cardinal goto nth line]
j - Join next line to this line
/ - search for regular expression
n - next occurance of search expression
:q[!] - quit without saving [!:even if changes have been made]
:w[!][ file] - write [!:even if the file is write protected][file:to another file]
:e file - edit another file
:r file - insert a file
See also: