viVisual editor, the brand of text editor
:wwrite to file
:wqwrite and quite
:q!quite, do not save
dwdelete word
<Esc>return to command mode
/(Pattern)forward search
?(Pattern)backward search
njumps to the next occurance of the pattern
Njumps to the last occurance of the pattern
Escapereturn to command mode

example#include <stdio.h>
main ()
   prntf("C and UNIX are becoming.n");
   printf("industry standards.\n");

-r {file name}insert or append {file name} here

Valid XHTML 1.1