xref: /openbsd-src/usr.bin/vi/docs/internals/context (revision d4e7c603042317101df5b56db72417d951eb90f7)
1*d4e7c603Sniklas#	$OpenBSD: context,v 1.3 2001/01/29 01:58:37 niklas Exp $
2*d4e7c603Sniklas
345f2ab88Sderaadt#	@(#)context	8.6 (Berkeley) 10/14/94
4df930be7Sderaadt
5df930be7SderaadtIn historic vi, the previous context mark was always set:
6df930be7Sderaadt
7df930be7Sderaadtex address:
8df930be7Sderaadt    any number, <question-mark>, <slash>, <dollar-sign>,
9df930be7Sderaadt    <single-quote>, <backslash>
10df930be7Sderaadt
1145f2ab88Sderaadtex commands: undo, "z.", global, v
12df930be7Sderaadt
13df930be7Sderaadtvi commands: (, ), {, }, %, [[, ]], ^]
14df930be7Sderaadt
15df930be7Sderaadtnvi adds the vi command ^T to this list.
16df930be7Sderaadt
17df930be7Sderaadt=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
18df930be7SderaadtIn historic vi, the previous context mark was set if the
19df930be7Sderaadtline changed:
20df930be7Sderaadt
21df930be7Sderaadtvi commands: '<mark>, G, H, L, M, z
22df930be7Sderaadt
23df930be7Sderaadt=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
24df930be7SderaadtIn historic vi, the previous context mark was set if the
25df930be7Sderaadtline or column changed:
26df930be7Sderaadt
27df930be7Sderaadtvi commands: `<mark>, /, ?, N, n
28df930be7Sderaadt
29df930be7Sderaadtnvi adds the vi command ^A to this list.
30df930be7Sderaadt
31df930be7Sderaadt=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
32df930be7SderaadtIn historic vi, the previous context mark was set in non-visual
33df930be7Sderaadtmode for ^R and ^L if the line changed, but I have yet to figure
34df930be7Sderaadtout how the line could change.
35