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