[BACK]Return to ev CVS log [TXT][DIR] Up to [local] / src / usr.bin / vi / docs

File: [local] / src / usr.bin / vi / docs / ev (download)

Revision 1.2, Mon Jan 29 01:58:32 2001 UTC (23 years, 4 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, HEAD
Changes since 1.1: +2 -0 lines

$OpenBSD$

#	$OpenBSD: ev,v 1.2 2001/01/29 01:58:32 niklas Exp $

#	@(#)ev	8.4 (Berkeley) 4/29/94

Ev:	Vi:	Result:
<CK>	<CK>	(Cursor keys).  Move around the file.

Meta key commands:
^A<#>	<#>G	Goto line #.
^A$	G	Goto the end of the file.
^A/	/	Prompt and execute a forward search.
^A:	:	Prompt and execute an ex command.
^A?	?	Prompt and execute a backward search.
^Ac	y'<c>	Copy to mark in line mode (or copy the current line).
^AC	y`<c>	Copy to mark in character mode.
^Ad	d'<c>	Delete to mark in line mode (or delete the current line).
^AD	d`<c>	Delete to mark in character mode.
^Aj	J	Join lines.
^Am	m<c>	Mark the current cursor position.
^AN	N	Repeat search in the reverse direction.
^An	^A	Search for the word under the cursor.
^Ar	u	Redo a command.
^Au	u	Undo a command.

Single key commands:
^B	^B	Page up a screen.
^C	^C	Interrupt long-running commands.
^D	^D	Page down a half-screen.
^E	$	End of line.
^F	^F	Page down a screen.
^G	^G	File status/information.
^H	X	Delete the character to the left of the cursor.
^I (TAB)
^J	j	Cursor down one line.
^K	k	Cursor up one line.
^L	^L	Redraw the screen.
^M (CR)	^M	In insert mode, split the line at the current cursor,
		creating a new line.
		In overwrite mode, cursor down one line.
^N	n	Repeat previous search, in previous direction.
^O (UNUSED)
^P	p	Paste the cut text at the cursor position.
^Q (XON/XOFF)
^R (UNUSED)
^S (XON/XOFF)
^T	D	Truncate the line at the cursor position.
^U	^U	Page up a half-screen.
^V<c>	^V<c>	Insert/overwrite with a literal next character.
^W	w	Move forward one whitespace separated word.
^X	x	Delete the current character.
^Y (UNUSED)
^Z	^Z	Suspend.

New ex mode commands:

^A:set ov[erwrite]	Toggle "insert" mode, so that input keys overwrite
			the existing characters.