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