Home | History | Annotate | Line # | Download | only in docs
      1  1.1  christos #	@(#)ev	8.4 (Berkeley) 4/29/94
      2  1.1  christos 
      3  1.1  christos Ev:	Vi:	Result:
      4  1.1  christos <CK>	<CK>	(Cursor keys).  Move around the file.
      5  1.1  christos 
      6  1.1  christos Meta key commands:
      7  1.1  christos ^A<#>	<#>G	Goto line #.
      8  1.1  christos ^A$	G	Goto the end of the file.
      9  1.1  christos ^A/	/	Prompt and execute a forward search.
     10  1.1  christos ^A:	:	Prompt and execute an ex command.
     11  1.1  christos ^A?	?	Prompt and execute a backward search.
     12  1.1  christos ^Ac	y'<c>	Copy to mark in line mode (or copy the current line).
     13  1.1  christos ^AC	y`<c>	Copy to mark in character mode.
     14  1.1  christos ^Ad	d'<c>	Delete to mark in line mode (or delete the current line).
     15  1.1  christos ^AD	d`<c>	Delete to mark in character mode.
     16  1.1  christos ^Aj	J	Join lines.
     17  1.1  christos ^Am	m<c>	Mark the current cursor position.
     18  1.1  christos ^AN	N	Repeat search in the reverse direction.
     19  1.1  christos ^An	^A	Search for the word under the cursor.
     20  1.1  christos ^Ar	u	Redo a command.
     21  1.1  christos ^Au	u	Undo a command.
     22  1.1  christos 
     23  1.1  christos Single key commands:
     24  1.1  christos ^B	^B	Page up a screen.
     25  1.1  christos ^C	^C	Interrupt long-running commands.
     26  1.1  christos ^D	^D	Page down a half-screen.
     27  1.1  christos ^E	$	End of line.
     28  1.1  christos ^F	^F	Page down a screen.
     29  1.1  christos ^G	^G	File status/information.
     30  1.1  christos ^H	X	Delete the character to the left of the cursor.
     31  1.1  christos ^I (TAB)
     32  1.1  christos ^J	j	Cursor down one line.
     33  1.1  christos ^K	k	Cursor up one line.
     34  1.1  christos ^L	^L	Redraw the screen.
     35  1.1  christos ^M (CR)	^M	In insert mode, split the line at the current cursor,
     36  1.1  christos 		creating a new line.
     37  1.1  christos 		In overwrite mode, cursor down one line.
     38  1.1  christos ^N	n	Repeat previous search, in previous direction.
     39  1.1  christos ^O (UNUSED)
     40  1.1  christos ^P	p	Paste the cut text at the cursor position.
     41  1.1  christos ^Q (XON/XOFF)
     42  1.1  christos ^R (UNUSED)
     43  1.1  christos ^S (XON/XOFF)
     44  1.1  christos ^T	D	Truncate the line at the cursor position.
     45  1.1  christos ^U	^U	Page up a half-screen.
     46  1.1  christos ^V<c>	^V<c>	Insert/overwrite with a literal next character.
     47  1.1  christos ^W	w	Move forward one whitespace separated word.
     48  1.1  christos ^X	x	Delete the current character.
     49  1.1  christos ^Y (UNUSED)
     50  1.1  christos ^Z	^Z	Suspend.
     51  1.1  christos 
     52  1.1  christos New ex mode commands:
     53  1.1  christos 
     54  1.1  christos ^A:set ov[erwrite]	Toggle "insert" mode, so that input keys overwrite
     55  1.1  christos 			the existing characters.
     56