xref: /netbsd-src/external/bsd/nvi/docs/internals/context (revision 4391d5e9d4f291db41e3b3ba26a01b5e51364aae)
1*4391d5e9Schristos#	@(#)context	8.6 (Berkeley) 10/14/94
2*4391d5e9Schristos
3*4391d5e9SchristosIn historic vi, the previous context mark was always set:
4*4391d5e9Schristos
5*4391d5e9Schristosex address:
6*4391d5e9Schristos    any number, <question-mark>, <slash>, <dollar-sign>,
7*4391d5e9Schristos    <single-quote>, <backslash>
8*4391d5e9Schristos
9*4391d5e9Schristosex commands: undo, "z.", global, v
10*4391d5e9Schristos
11*4391d5e9Schristosvi commands: (, ), {, }, %, [[, ]], ^]
12*4391d5e9Schristos
13*4391d5e9Schristosnvi adds the vi command ^T to this list.
14*4391d5e9Schristos
15*4391d5e9Schristos=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
16*4391d5e9SchristosIn historic vi, the previous context mark was set if the
17*4391d5e9Schristosline changed:
18*4391d5e9Schristos
19*4391d5e9Schristosvi commands: '<mark>, G, H, L, M, z
20*4391d5e9Schristos
21*4391d5e9Schristos=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
22*4391d5e9SchristosIn historic vi, the previous context mark was set if the
23*4391d5e9Schristosline or column changed:
24*4391d5e9Schristos
25*4391d5e9Schristosvi commands: `<mark>, /, ?, N, n
26*4391d5e9Schristos
27*4391d5e9Schristosnvi adds the vi command ^A to this list.
28*4391d5e9Schristos
29*4391d5e9Schristos=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
30*4391d5e9SchristosIn historic vi, the previous context mark was set in non-visual
31*4391d5e9Schristosmode for ^R and ^L if the line changed, but I have yet to figure
32*4391d5e9Schristosout how the line could change.
33